0s autopkgtest [18:17:48]: starting date and time: 2024-03-20 18:17:48+0000 0s autopkgtest [18:17:48]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [18:17:48]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.krawtm94/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:libselinux,src:shared-mime-info --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-15.secgroup --name adt-noble-arm64-glib2.0-20240320-181748-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 72s autopkgtest [18:19:00]: testbed dpkg architecture: arm64 72s autopkgtest [18:19:00]: testbed apt version: 2.7.12 72s autopkgtest [18:19:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 72s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 73s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 73s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3809 kB] 73s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [501 kB] 73s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 73s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [690 kB] 73s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 73s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [41.7 kB] 73s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 73s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4224 kB] 73s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 73s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [67.6 kB] 73s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 75s Fetched 9523 kB in 2s (4695 kB/s) 76s Reading package lists... 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 80s Calculating upgrade... 81s The following packages were automatically installed and are no longer required: 81s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 81s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 81s python3-problem-report python3-pyparsing python3-six python3-systemd 81s python3-wadllib 81s Use 'sudo apt autoremove' to remove them. 81s The following packages will be REMOVED: 81s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 81s libglib2.0-0 networkd-dispatcher python3-gi 81s The following NEW packages will be installed: 81s libglib2.0-0t64 xdg-user-dirs 81s The following packages will be upgraded: 81s libselinux1 shared-mime-info 81s 2 upgraded, 2 newly installed, 7 to remove and 0 not upgraded. 81s Need to get 2097 kB of archives. 81s After this operation, 2776 kB disk space will be freed. 81s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libselinux1 arm64 3.5-2ubuntu1 [79.8 kB] 81s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 shared-mime-info arm64 2.4-1build1 [471 kB] 81s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 81s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 82s Fetched 2097 kB in 1s (3163 kB/s) 82s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74758 files and directories currently installed.) 82s Removing networkd-dispatcher (2.2.4-1) ... 83s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 83s Removing apport (2.28.0-0ubuntu1) ... 84s Removing python3-gi (3.47.0-3) ... 84s Removing gir1.2-girepository-2.0:arm64 (1.79.1-1) ... 84s Removing gir1.2-glib-2.0:arm64 (2.79.2-1~ubuntu1) ... 84s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74589 files and directories currently installed.) 84s Preparing to unpack .../libselinux1_3.5-2ubuntu1_arm64.deb ... 84s Unpacking libselinux1:arm64 (3.5-2ubuntu1) over (3.5-2build1) ... 84s Setting up libselinux1:arm64 (3.5-2ubuntu1) ... 85s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74589 files and directories currently installed.) 85s Preparing to unpack .../shared-mime-info_2.4-1build1_arm64.deb ... 85s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 85s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 85s udisks2 depends on libglib2.0-0 (>= 2.77.0). 85s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 85s netplan.io depends on libglib2.0-0 (>= 2.70.0). 85s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 85s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 85s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 85s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 85s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 85s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 85s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 85s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 85s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 85s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 85s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 85s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 85s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 85s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 85s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 85s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 85s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 85s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 85s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 85s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 85s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 85s fwupd depends on libglib2.0-0 (>= 2.79.0). 85s bolt depends on libglib2.0-0 (>= 2.56.0). 85s 85s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74589 files and directories currently installed.) 85s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 85s Selecting previously unselected package libglib2.0-0t64:arm64. 85s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74564 files and directories currently installed.) 85s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 85s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:arm64.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 85s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 85s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 85s Selecting previously unselected package xdg-user-dirs. 85s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 85s Unpacking xdg-user-dirs (0.18-1) ... 85s Setting up xdg-user-dirs (0.18-1) ... 85s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 85s No schema files found: doing nothing. 85s Setting up shared-mime-info (2.4-1build1) ... 86s Processing triggers for man-db (2.12.0-3) ... 87s Processing triggers for libc-bin (2.39-0ubuntu2) ... 87s Reading package lists... 88s Building dependency tree... 88s Reading state information... 89s The following packages will be REMOVED: 89s apport-symptoms* libgirepository-1.0-1* python3-apport* python3-httplib2* 89s python3-launchpadlib* python3-lazr.restfulclient* python3-lazr.uri* 89s python3-problem-report* python3-pyparsing* python3-six* python3-systemd* 89s python3-wadllib* 90s 0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded. 90s After this operation, 4689 kB disk space will be freed. 90s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74603 files and directories currently installed.) 90s Removing apport-symptoms (0.24) ... 90s Removing libgirepository-1.0-1:arm64 (1.79.1-1) ... 90s Removing python3-apport (2.28.0-0ubuntu1) ... 90s Removing python3-launchpadlib (1.11.0-6) ... 91s Removing python3-lazr.restfulclient (0.14.6-1) ... 91s Removing python3-httplib2 (0.20.4-3) ... 91s Removing python3-wadllib (1.3.6-5) ... 91s Removing python3-lazr.uri (1.0.6-3) ... 91s Removing python3-problem-report (2.28.0-0ubuntu1) ... 91s Removing python3-pyparsing (3.1.1-1) ... 91s Removing python3-six (1.16.0-4) ... 92s Removing python3-systemd (235-1build3) ... 92s Processing triggers for libc-bin (2.39-0ubuntu2) ... 92s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 92s Purging configuration files for python3-launchpadlib (1.11.0-6) ... 93s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 93s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 93s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 93s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 96s Reading package lists... 97s Reading package lists... 97s Building dependency tree... 97s Reading state information... 99s Calculating upgrade... 100s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 100s Reading package lists... 101s Building dependency tree... 101s Reading state information... 103s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s autopkgtest [18:19:31]: rebooting testbed after setup commands that affected boot 286s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 297s autopkgtest [18:22:45]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 300s autopkgtest [18:22:48]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 314s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 314s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 314s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 314s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 314s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 314s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 314s gpgv: Can't check signature: No public key 314s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 316s autopkgtest [18:23:04]: testing package glib2.0 version 2.79.2-1~ubuntu1 316s autopkgtest [18:23:04]: build not needed 319s autopkgtest [18:23:07]: test build: preparing testbed 323s Reading package lists... 323s Building dependency tree... 323s Reading state information... 323s Starting pkgProblemResolver with broken count: 1 323s Starting 2 pkgProblemResolver with broken count: 1 323s Investigating (0) libglib2.0-0t64:arm64 < 2.79.3-3ubuntu5 @ii mK Ib > 323s Broken libglib2.0-0t64:arm64 Breaks on libglib2.0-0:arm64 < none -> 2.79.2-1~ubuntu1 @rc pumN > (< 2.79.3-3ubuntu5) 323s Considering libglib2.0-0:arm64 103 as a solution to libglib2.0-0t64:arm64 105 323s Done 323s Some packages could not be installed. This may mean that you have 323s requested an impossible situation or if you are using the unstable 323s distribution that some required packages have not yet been created 323s or been moved out of Incoming. 323s The following information may help to resolve the situation: 323s 323s The following packages have unmet dependencies: 324s libglib2.0-0t64 : Breaks: libglib2.0-0 (< 2.79.3-3ubuntu5) 324s E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. 324s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from noble-proposed 324s Reading package lists... 325s Building dependency tree... 325s Reading state information... 325s Starting pkgProblemResolver with broken count: 0 325s Starting 2 pkgProblemResolver with broken count: 0 325s Done 326s The following additional packages will be installed: 326s bsdextrautils bsdutils build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu 326s cpp-aarch64-linux-gnu eject fdisk g++ g++-13 g++-13-aarch64-linux-gnu 326s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu gcc-13-base 326s gcc-14-base gcc-aarch64-linux-gnu libasan8 libatomic1 libblkid-dev libblkid1 326s libc-bin libc-dev-bin libc6 libc6-dev libcc1-0 libcrypt-dev libelf1t64 326s libfdisk1 libffi-dev libgcc-13-dev libgcc-s1 libgirepository-2.0-0 326s libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libgomp1 326s libhwasan0 libisl23 libitm1 liblsan0 libmount-dev libmount1 libmpc3 326s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 326s libreadline8t64 libselinux1-dev libsepol-dev libsmartcols1 libstdc++-13-dev 326s libstdc++6 libtsan2 libubsan1 libuuid1 linux-libc-dev locales mount pkgconf 326s pkgconf-bin python3-packaging readline-common rpcsvc-proto util-linux 326s uuid-dev uuid-runtime zlib1g zlib1g-dev 326s Suggested packages: 326s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 326s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 326s manpages glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 326s libxml2-utils libstdc++-13-doc nfs-common readline-doc util-linux-extra 326s util-linux-locales 326s Recommended packages: 326s manpages manpages-dev libc-devtools 326s The following packages will be REMOVED: 326s libelf1 libreadline8 326s The following NEW packages will be installed: 326s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu 326s cpp-aarch64-linux-gnu g++ g++-13 g++-13-aarch64-linux-gnu 326s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu 326s gcc-aarch64-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 326s libc6-dev libcc1-0 libcrypt-dev libelf1t64 libffi-dev libgcc-13-dev 326s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 326s libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev libmpc3 326s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 326s libreadline8t64 libselinux1-dev libsepol-dev libstdc++-13-dev libtsan2 326s libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging rpcsvc-proto 326s uuid-dev zlib1g-dev 326s The following packages will be upgraded: 326s bsdextrautils bsdutils eject fdisk gcc-13-base gcc-14-base libblkid1 326s libc-bin libc6 libfdisk1 libgcc-s1 libglib2.0-data libmount1 libsmartcols1 326s libstdc++6 libuuid1 locales mount readline-common util-linux uuid-runtime 326s zlib1g 326s 22 upgraded, 53 newly installed, 2 to remove and 208 not upgraded. 326s Need to get 77.6 MB/77.6 MB of archives. 326s After this operation, 243 MB of additional disk space will be used. 326s Get:1 /tmp/autopkgtest.QpPIpa/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [724 B] 326s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 bsdutils arm64 1:2.39.3-9ubuntu2 [97.4 kB] 327s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 util-linux arm64 2.39.3-9ubuntu2 [1114 kB] 327s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-14-base arm64 14-20240315-1ubuntu1 [47.0 kB] 327s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgcc-s1 arm64 14-20240315-1ubuntu1 [49.9 kB] 327s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libstdc++6 arm64 14-20240315-1ubuntu1 [748 kB] 327s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc6 arm64 2.39-0ubuntu6 [2776 kB] 328s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc-bin arm64 2.39-0ubuntu6 [591 kB] 328s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 zlib1g arm64 1:1.3.dfsg-3.1ubuntu1 [61.7 kB] 328s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build2 [57.9 kB] 328s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 readline-common all 8.2-3.1 [56.4 kB] 328s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 fdisk arm64 2.39.3-9ubuntu2 [120 kB] 328s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline8t64 arm64 8.2-3.1 [153 kB] 328s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 mount arm64 2.39.3-9ubuntu2 [116 kB] 328s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsmartcols1 arm64 2.39.3-9ubuntu2 [64.1 kB] 328s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libuuid1 arm64 2.39.3-9ubuntu2 [35.1 kB] 328s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 uuid-runtime arm64 2.39.3-9ubuntu2 [32.5 kB] 328s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libblkid1 arm64 2.39.3-9ubuntu2 [122 kB] 328s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libmount1 arm64 2.39.3-9ubuntu2 [133 kB] 328s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-13-base arm64 13.2.0-19ubuntu1 [47.8 kB] 328s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 eject arm64 2.39.3-9ubuntu2 [26.5 kB] 328s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libfdisk1 arm64 2.39.3-9ubuntu2 [142 kB] 328s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 328s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 locales all 2.39-0ubuntu6 [4232 kB] 328s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 bsdextrautils arm64 2.39.3-9ubuntu2 [71.5 kB] 328s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc-dev-bin arm64 2.39-0ubuntu6 [19.7 kB] 328s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 linux-libc-dev arm64 6.8.0-20.20 [1570 kB] 328s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 328s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 329s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc6-dev arm64 2.39-0ubuntu6 [1596 kB] 329s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 329s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 329s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-19ubuntu1 [10.3 MB] 329s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 cpp-13 arm64 13.2.0-19ubuntu1 [1032 B] 329s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 329s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 329s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcc1-0 arm64 14-20240315-1ubuntu1 [44.7 kB] 329s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgomp1 arm64 14-20240315-1ubuntu1 [144 kB] 329s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libitm1 arm64 14-20240315-1ubuntu1 [27.8 kB] 329s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libatomic1 arm64 14-20240315-1ubuntu1 [11.4 kB] 329s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libasan8 arm64 14-20240315-1ubuntu1 [2919 kB] 329s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 liblsan0 arm64 14-20240315-1ubuntu1 [1282 kB] 329s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtsan2 arm64 14-20240315-1ubuntu1 [2687 kB] 330s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libubsan1 arm64 14-20240315-1ubuntu1 [1150 kB] 330s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libhwasan0 arm64 14-20240315-1ubuntu1 [1597 kB] 330s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgcc-13-dev arm64 13.2.0-19ubuntu1 [2464 kB] 330s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-19ubuntu1 [20.1 MB] 330s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-13 arm64 13.2.0-19ubuntu1 [467 kB] 330s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 330s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 330s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libstdc++-13-dev arm64 13.2.0-19ubuntu1 [2322 kB] 330s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-19ubuntu1 [11.7 MB] 331s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 g++-13 arm64 13.2.0-19ubuntu1 [14.5 kB] 331s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 331s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 331s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 331s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu5 [71.5 kB] 331s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu5 [97.1 kB] 331s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 331s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 331s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu5 [215 kB] 331s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 uuid-dev arm64 2.39.3-9ubuntu2 [34.8 kB] 331s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libblkid-dev arm64 2.39.3-9ubuntu2 [219 kB] 331s Get:64 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 331s Get:65 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 331s Get:66 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 331s Get:67 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 331s Get:68 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 331s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libselinux1-dev arm64 3.5-2ubuntu1 [172 kB] 331s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libmount-dev arm64 2.39.3-9ubuntu2 [14.9 kB] 331s Get:71 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 331s Get:72 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 331s Get:73 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 331s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3.1ubuntu1 [894 kB] 331s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev arm64 2.79.3-3ubuntu5 [1885 kB] 332s Preconfiguring packages ... 332s Fetched 77.6 MB in 5s (16.8 MB/s) 332s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 332s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_arm64.deb ... 332s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 332s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 332s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 332s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_arm64.deb ... 332s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 332s Setting up util-linux (2.39.3-9ubuntu2) ... 333s fstrim.service is a disabled or a static unit not running, not starting it. 333s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 333s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_arm64.deb ... 333s Unpacking gcc-14-base:arm64 (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 333s Setting up gcc-14-base:arm64 (14-20240315-1ubuntu1) ... 333s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 333s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_arm64.deb ... 333s Unpacking libgcc-s1:arm64 (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 333s Setting up libgcc-s1:arm64 (14-20240315-1ubuntu1) ... 333s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 333s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_arm64.deb ... 333s Unpacking libstdc++6:arm64 (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 333s Setting up libstdc++6:arm64 (14-20240315-1ubuntu1) ... 333s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 333s Preparing to unpack .../libc6_2.39-0ubuntu6_arm64.deb ... 333s Unpacking libc6:arm64 (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 334s Setting up libc6:arm64 (2.39-0ubuntu6) ... 334s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 334s Preparing to unpack .../libc-bin_2.39-0ubuntu6_arm64.deb ... 334s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 334s Setting up libc-bin (2.39-0ubuntu6) ... 334s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 334s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_arm64.deb ... 334s Unpacking zlib1g:arm64 (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 334s Setting up zlib1g:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 334s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 334s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 334s libbpf1:arm64 depends on libelf1 (>= 0.144). 334s iproute2 depends on libelf1 (>= 0.131). 334s 335s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 335s Removing libelf1:arm64 (0.190-1) ... 335s Selecting previously unselected package libelf1t64:arm64. 335s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74338 files and directories currently installed.) 335s Preparing to unpack .../libelf1t64_0.190-1.1build2_arm64.deb ... 335s Unpacking libelf1t64:arm64 (0.190-1.1build2) ... 335s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 335s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 335s Preparing to unpack .../fdisk_2.39.3-9ubuntu2_arm64.deb ... 335s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 335s dpkg: libreadline8:arm64: dependency problems, but removing anyway as you requested: 335s parted depends on libreadline8 (>= 6.0). 335s libpython3.12-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 335s gpgsm depends on libreadline8 (>= 6.0). 335s gpgconf depends on libreadline8 (>= 6.0). 335s gpg depends on libreadline8 (>= 6.0). 335s gawk depends on libreadline8 (>= 6.0). 335s 335s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 335s Removing libreadline8:arm64 (8.2-3) ... 335s Selecting previously unselected package libreadline8t64:arm64. 335s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74331 files and directories currently installed.) 335s Preparing to unpack .../libreadline8t64_8.2-3.1_arm64.deb ... 335s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 335s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 335s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 335s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 335s Unpacking libreadline8t64:arm64 (8.2-3.1) ... 335s Preparing to unpack .../mount_2.39.3-9ubuntu2_arm64.deb ... 335s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 336s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_arm64.deb ... 336s Unpacking libsmartcols1:arm64 (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 336s Setting up libsmartcols1:arm64 (2.39.3-9ubuntu2) ... 336s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74351 files and directories currently installed.) 336s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_arm64.deb ... 336s Unpacking libuuid1:arm64 (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 336s Setting up libuuid1:arm64 (2.39.3-9ubuntu2) ... 336s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74351 files and directories currently installed.) 336s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_arm64.deb ... 336s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 336s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_arm64.deb ... 336s Unpacking libblkid1:arm64 (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 336s Setting up libblkid1:arm64 (2.39.3-9ubuntu2) ... 336s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74351 files and directories currently installed.) 336s Preparing to unpack .../libmount1_2.39.3-9ubuntu2_arm64.deb ... 336s Unpacking libmount1:arm64 (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 336s Setting up libmount1:arm64 (2.39.3-9ubuntu2) ... 336s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74351 files and directories currently installed.) 336s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_arm64.deb ... 336s Unpacking gcc-13-base:arm64 (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 337s Preparing to unpack .../01-eject_2.39.3-9ubuntu2_arm64.deb ... 337s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 337s Preparing to unpack .../02-libfdisk1_2.39.3-9ubuntu2_arm64.deb ... 337s Unpacking libfdisk1:arm64 (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 337s Preparing to unpack .../03-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 337s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 337s Preparing to unpack .../04-locales_2.39-0ubuntu6_all.deb ... 337s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 337s Preparing to unpack .../05-bsdextrautils_2.39.3-9ubuntu2_arm64.deb ... 337s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 337s Selecting previously unselected package libc-dev-bin. 337s Preparing to unpack .../06-libc-dev-bin_2.39-0ubuntu6_arm64.deb ... 337s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 337s Selecting previously unselected package linux-libc-dev:arm64. 338s Preparing to unpack .../07-linux-libc-dev_6.8.0-20.20_arm64.deb ... 338s Unpacking linux-libc-dev:arm64 (6.8.0-20.20) ... 338s Selecting previously unselected package libcrypt-dev:arm64. 338s Preparing to unpack .../08-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 338s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 338s Selecting previously unselected package rpcsvc-proto. 338s Preparing to unpack .../09-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 338s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 338s Selecting previously unselected package libc6-dev:arm64. 338s Preparing to unpack .../10-libc6-dev_2.39-0ubuntu6_arm64.deb ... 338s Unpacking libc6-dev:arm64 (2.39-0ubuntu6) ... 339s Selecting previously unselected package libisl23:arm64. 339s Preparing to unpack .../11-libisl23_0.26-3_arm64.deb ... 339s Unpacking libisl23:arm64 (0.26-3) ... 339s Selecting previously unselected package libmpc3:arm64. 339s Preparing to unpack .../12-libmpc3_1.3.1-1_arm64.deb ... 339s Unpacking libmpc3:arm64 (1.3.1-1) ... 339s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 339s Preparing to unpack .../13-cpp-13-aarch64-linux-gnu_13.2.0-19ubuntu1_arm64.deb ... 339s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 339s Selecting previously unselected package cpp-13. 339s Preparing to unpack .../14-cpp-13_13.2.0-19ubuntu1_arm64.deb ... 339s Unpacking cpp-13 (13.2.0-19ubuntu1) ... 339s Selecting previously unselected package cpp-aarch64-linux-gnu. 339s Preparing to unpack .../15-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 339s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 339s Selecting previously unselected package cpp. 340s Preparing to unpack .../16-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 340s Unpacking cpp (4:13.2.0-7ubuntu1) ... 340s Selecting previously unselected package libcc1-0:arm64. 340s Preparing to unpack .../17-libcc1-0_14-20240315-1ubuntu1_arm64.deb ... 340s Unpacking libcc1-0:arm64 (14-20240315-1ubuntu1) ... 340s Selecting previously unselected package libgomp1:arm64. 340s Preparing to unpack .../18-libgomp1_14-20240315-1ubuntu1_arm64.deb ... 340s Unpacking libgomp1:arm64 (14-20240315-1ubuntu1) ... 340s Selecting previously unselected package libitm1:arm64. 340s Preparing to unpack .../19-libitm1_14-20240315-1ubuntu1_arm64.deb ... 340s Unpacking libitm1:arm64 (14-20240315-1ubuntu1) ... 340s Selecting previously unselected package libatomic1:arm64. 341s Preparing to unpack .../20-libatomic1_14-20240315-1ubuntu1_arm64.deb ... 341s Unpacking libatomic1:arm64 (14-20240315-1ubuntu1) ... 341s Selecting previously unselected package libasan8:arm64. 341s Preparing to unpack .../21-libasan8_14-20240315-1ubuntu1_arm64.deb ... 341s Unpacking libasan8:arm64 (14-20240315-1ubuntu1) ... 341s Selecting previously unselected package liblsan0:arm64. 341s Preparing to unpack .../22-liblsan0_14-20240315-1ubuntu1_arm64.deb ... 341s Unpacking liblsan0:arm64 (14-20240315-1ubuntu1) ... 341s Selecting previously unselected package libtsan2:arm64. 341s Preparing to unpack .../23-libtsan2_14-20240315-1ubuntu1_arm64.deb ... 341s Unpacking libtsan2:arm64 (14-20240315-1ubuntu1) ... 341s Selecting previously unselected package libubsan1:arm64. 341s Preparing to unpack .../24-libubsan1_14-20240315-1ubuntu1_arm64.deb ... 341s Unpacking libubsan1:arm64 (14-20240315-1ubuntu1) ... 341s Selecting previously unselected package libhwasan0:arm64. 341s Preparing to unpack .../25-libhwasan0_14-20240315-1ubuntu1_arm64.deb ... 341s Unpacking libhwasan0:arm64 (14-20240315-1ubuntu1) ... 341s Selecting previously unselected package libgcc-13-dev:arm64. 341s Preparing to unpack .../26-libgcc-13-dev_13.2.0-19ubuntu1_arm64.deb ... 341s Unpacking libgcc-13-dev:arm64 (13.2.0-19ubuntu1) ... 341s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 341s Preparing to unpack .../27-gcc-13-aarch64-linux-gnu_13.2.0-19ubuntu1_arm64.deb ... 341s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 342s Selecting previously unselected package gcc-13. 342s Preparing to unpack .../28-gcc-13_13.2.0-19ubuntu1_arm64.deb ... 342s Unpacking gcc-13 (13.2.0-19ubuntu1) ... 342s Selecting previously unselected package gcc-aarch64-linux-gnu. 342s Preparing to unpack .../29-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 342s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 342s Selecting previously unselected package gcc. 342s Preparing to unpack .../30-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 342s Unpacking gcc (4:13.2.0-7ubuntu1) ... 342s Selecting previously unselected package libstdc++-13-dev:arm64. 342s Preparing to unpack .../31-libstdc++-13-dev_13.2.0-19ubuntu1_arm64.deb ... 342s Unpacking libstdc++-13-dev:arm64 (13.2.0-19ubuntu1) ... 342s Selecting previously unselected package g++-13-aarch64-linux-gnu. 343s Preparing to unpack .../32-g++-13-aarch64-linux-gnu_13.2.0-19ubuntu1_arm64.deb ... 343s Unpacking g++-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 343s Selecting previously unselected package g++-13. 343s Preparing to unpack .../33-g++-13_13.2.0-19ubuntu1_arm64.deb ... 343s Unpacking g++-13 (13.2.0-19ubuntu1) ... 343s Selecting previously unselected package g++-aarch64-linux-gnu. 343s Preparing to unpack .../34-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 343s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 343s Selecting previously unselected package g++. 343s Preparing to unpack .../35-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 343s Unpacking g++ (4:13.2.0-7ubuntu1) ... 343s Selecting previously unselected package build-essential. 343s Preparing to unpack .../36-build-essential_12.10ubuntu1_arm64.deb ... 343s Unpacking build-essential (12.10ubuntu1) ... 343s Selecting previously unselected package libgirepository-2.0-0:arm64. 343s Preparing to unpack .../37-libgirepository-2.0-0_2.79.3-3ubuntu5_arm64.deb ... 343s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 343s Selecting previously unselected package libglib2.0-bin. 343s Preparing to unpack .../38-libglib2.0-bin_2.79.3-3ubuntu5_arm64.deb ... 343s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 343s Selecting previously unselected package libffi-dev:arm64. 343s Preparing to unpack .../39-libffi-dev_3.4.6-1_arm64.deb ... 343s Unpacking libffi-dev:arm64 (3.4.6-1) ... 343s Selecting previously unselected package python3-packaging. 343s Preparing to unpack .../40-python3-packaging_23.2-1_all.deb ... 343s Unpacking python3-packaging (23.2-1) ... 343s Selecting previously unselected package libglib2.0-dev-bin. 343s Preparing to unpack .../41-libglib2.0-dev-bin_2.79.3-3ubuntu5_arm64.deb ... 343s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 343s Selecting previously unselected package uuid-dev:arm64. 343s Preparing to unpack .../42-uuid-dev_2.39.3-9ubuntu2_arm64.deb ... 343s Unpacking uuid-dev:arm64 (2.39.3-9ubuntu2) ... 343s Selecting previously unselected package libblkid-dev:arm64. 343s Preparing to unpack .../43-libblkid-dev_2.39.3-9ubuntu2_arm64.deb ... 343s Unpacking libblkid-dev:arm64 (2.39.3-9ubuntu2) ... 343s Selecting previously unselected package libsepol-dev:arm64. 343s Preparing to unpack .../44-libsepol-dev_3.5-2_arm64.deb ... 343s Unpacking libsepol-dev:arm64 (3.5-2) ... 343s Selecting previously unselected package libpcre2-16-0:arm64. 343s Preparing to unpack .../45-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 343s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 343s Selecting previously unselected package libpcre2-32-0:arm64. 343s Preparing to unpack .../46-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 343s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 343s Selecting previously unselected package libpcre2-posix3:arm64. 343s Preparing to unpack .../47-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 343s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 343s Selecting previously unselected package libpcre2-dev:arm64. 343s Preparing to unpack .../48-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 343s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 343s Selecting previously unselected package libselinux1-dev:arm64. 343s Preparing to unpack .../49-libselinux1-dev_3.5-2ubuntu1_arm64.deb ... 343s Unpacking libselinux1-dev:arm64 (3.5-2ubuntu1) ... 343s Selecting previously unselected package libmount-dev:arm64. 343s Preparing to unpack .../50-libmount-dev_2.39.3-9ubuntu2_arm64.deb ... 343s Unpacking libmount-dev:arm64 (2.39.3-9ubuntu2) ... 343s Selecting previously unselected package libpkgconf3:arm64. 343s Preparing to unpack .../51-libpkgconf3_1.8.1-2_arm64.deb ... 343s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 343s Selecting previously unselected package pkgconf-bin. 343s Preparing to unpack .../52-pkgconf-bin_1.8.1-2_arm64.deb ... 343s Unpacking pkgconf-bin (1.8.1-2) ... 343s Selecting previously unselected package pkgconf:arm64. 343s Preparing to unpack .../53-pkgconf_1.8.1-2_arm64.deb ... 343s Unpacking pkgconf:arm64 (1.8.1-2) ... 344s Selecting previously unselected package zlib1g-dev:arm64. 344s Preparing to unpack .../54-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_arm64.deb ... 344s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 344s Selecting previously unselected package libglib2.0-dev:arm64. 344s Preparing to unpack .../55-libglib2.0-dev_2.79.3-3ubuntu5_arm64.deb ... 344s Unpacking libglib2.0-dev:arm64 (2.79.3-3ubuntu5) ... 344s Selecting previously unselected package autopkgtest-satdep. 344s Preparing to unpack .../56-1-autopkgtest-satdep.deb ... 344s Unpacking autopkgtest-satdep (0) ... 344s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 344s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 344s Setting up linux-libc-dev:arm64 (6.8.0-20.20) ... 344s Setting up libgomp1:arm64 (14-20240315-1ubuntu1) ... 344s Setting up libffi-dev:arm64 (3.4.6-1) ... 344s Setting up locales (2.39-0ubuntu6) ... 345s Generating locales (this might take a while)... 348s en_US.UTF-8... done 348s Generation complete. 348s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 348s Setting up libelf1t64:arm64 (0.190-1.1build2) ... 348s Setting up eject (2.39.3-9ubuntu2) ... 348s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 348s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 348s Setting up python3-packaging (23.2-1) ... 348s Setting up libpkgconf3:arm64 (1.8.1-2) ... 348s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 348s Setting up gcc-13-base:arm64 (13.2.0-19ubuntu1) ... 348s Setting up libmpc3:arm64 (1.3.1-1) ... 348s Setting up libatomic1:arm64 (14-20240315-1ubuntu1) ... 348s Setting up libsepol-dev:arm64 (3.5-2) ... 348s Setting up pkgconf-bin (1.8.1-2) ... 348s Setting up libfdisk1:arm64 (2.39.3-9ubuntu2) ... 348s Setting up libubsan1:arm64 (14-20240315-1ubuntu1) ... 348s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 348s Setting up mount (2.39.3-9ubuntu2) ... 348s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 349s uuidd.service is a disabled or a static unit not running, not starting it. 349s Setting up libhwasan0:arm64 (14-20240315-1ubuntu1) ... 349s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 349s Setting up libasan8:arm64 (14-20240315-1ubuntu1) ... 349s Setting up libtsan2:arm64 (14-20240315-1ubuntu1) ... 349s Setting up libisl23:arm64 (0.26-3) ... 349s Setting up libc-dev-bin (2.39-0ubuntu6) ... 349s Setting up readline-common (8.2-3.1) ... 349s Setting up libcc1-0:arm64 (14-20240315-1ubuntu1) ... 349s Setting up liblsan0:arm64 (14-20240315-1ubuntu1) ... 349s Setting up libitm1:arm64 (14-20240315-1ubuntu1) ... 349s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 349s Setting up cpp-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 349s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 349s Setting up pkgconf:arm64 (1.8.1-2) ... 349s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 349s Setting up libreadline8t64:arm64 (8.2-3.1) ... 349s Setting up libgcc-13-dev:arm64 (13.2.0-19ubuntu1) ... 349s Setting up libc6-dev:arm64 (2.39-0ubuntu6) ... 349s Setting up libstdc++-13-dev:arm64 (13.2.0-19ubuntu1) ... 349s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 349s Setting up cpp-13 (13.2.0-19ubuntu1) ... 349s Setting up libselinux1-dev:arm64 (3.5-2ubuntu1) ... 349s Setting up gcc-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 349s Setting up fdisk (2.39.3-9ubuntu2) ... 349s Setting up uuid-dev:arm64 (2.39.3-9ubuntu2) ... 349s Setting up gcc-13 (13.2.0-19ubuntu1) ... 349s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 349s Setting up cpp (4:13.2.0-7ubuntu1) ... 349s Setting up g++-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 349s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 349s Setting up libblkid-dev:arm64 (2.39.3-9ubuntu2) ... 349s Setting up g++-13 (13.2.0-19ubuntu1) ... 349s Setting up gcc (4:13.2.0-7ubuntu1) ... 349s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 349s Setting up libmount-dev:arm64 (2.39.3-9ubuntu2) ... 349s Setting up libglib2.0-dev:arm64 (2.79.3-3ubuntu5) ... 349s Setting up g++ (4:13.2.0-7ubuntu1) ... 349s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 349s Setting up build-essential (12.10ubuntu1) ... 349s Processing triggers for libc-bin (2.39-0ubuntu6) ... 349s Processing triggers for man-db (2.12.0-3) ... 351s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 351s No schema files found: doing nothing. 351s Processing triggers for install-info (7.1-3) ... 351s Setting up autopkgtest-satdep (0) ... 354s (Reading database ... 78044 files and directories currently installed.) 354s Removing autopkgtest-satdep (0) ... 355s autopkgtest [18:23:43]: test build: [----------------------- 355s + mode=dynamic 355s + getopt -o --long static -n debian/tests/build -- 355s + getopt_temp= -- 355s + eval set -- -- 355s + set -- -- 355s + true 355s + shift 355s + break 355s + mktemp -d 355s + WORKDIR=/tmp/tmp.V3x643zwzK 355s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 355s + cd /tmp/tmp.V3x643zwzK 355s + [ -n ] 355s + CROSS_COMPILE= 355s + cat 355s + cat 355s + cat 355s + cat 355s + cat 355s + cat 355s + cflags= 355s + pcflags= 355s + packages=glib-2.0 355s + pkg-config --cflags --libs glib-2.0 355s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lglib-2.0 356s + echo build (glib, dynamic): OK 356s + [ -x glib-dynamic ] 356s + foo=bar ./glib-dynamic 356s build (glib, dynamic): OK 356s run (glib, dynamic): OK 356s + echo run (glib, dynamic): OK 356s + cflags= 356s + pcflags= 356s + packages=gobject-2.0 356s + pkg-config --cflags --libs gobject-2.0 356s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 356s build (gobject, dynamic): OK 356s + echo build (gobject, dynamic): OK 356s + [ -x gobject-dynamic ] 356s + foo=bar ./gobject-dynamic 356s run (gobject, dynamic): OK 356s + echo run (gobject, dynamic): OK 356s + cflags= 356s + pcflags= 356s + packages=gio-2.0 356s + pkg-config --cflags --libs gio-2.0 356s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 356s build (gio, dynamic): OK 356s + echo build (gio, dynamic): OK 356s + [ -x gio-dynamic ] 356s + foo=bar ./gio-dynamic 356s run (gio, dynamic): OK 356s + echo run (gio, dynamic): OK 356s + cflags= 356s + pcflags= 356s + packages=gio-unix-2.0 356s + pkg-config --cflags --libs gio-unix-2.0 356s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 356s build (gio-unix, dynamic): OK 356s + echo build (gio-unix, dynamic): OK 356s + [ -x gio-unix-dynamic ] 356s + foo=bar ./gio-unix-dynamic 356s run (gio-unix, dynamic): OK 356s + echo run (gio-unix, dynamic): OK 356s + cflags= 356s + pcflags= 356s + packages=gmodule-2.0 356s + pkg-config --cflags --libs gmodule-2.0 356s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 357s build (gmodule, dynamic): OK 357s run (gmodule, dynamic): OK 357s + echo build (gmodule, dynamic): OK 357s + [ -x gmodule-dynamic ] 357s + foo=bar ./gmodule-dynamic 357s + echo run (gmodule, dynamic): OK 357s + cflags= 357s + pcflags= 357s + packages=gthread-2.0 357s + pkg-config --cflags --libs gthread-2.0 357s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 357s + echo build (gthread, dynamic): OK 357s + [ -x gthread-dynamic ] 357s + foo=bar ./gthread-dynamic 357s build (gthread, dynamic): OK 357s run (gthread, dynamic): OK 357s + echo run (gthread, dynamic): OK 357s + rm -rf /tmp/tmp.V3x643zwzK 357s autopkgtest [18:23:45]: test build: -----------------------] 358s build PASS (superficial) 358s autopkgtest [18:23:46]: test build: - - - - - - - - - - results - - - - - - - - - - 358s autopkgtest [18:23:46]: test build-static: preparing testbed 364s Reading package lists... 365s Building dependency tree... 365s Reading state information... 365s Starting pkgProblemResolver with broken count: 0 365s Starting 2 pkgProblemResolver with broken count: 0 365s Done 366s The following NEW packages will be installed: 366s autopkgtest-satdep 366s 0 upgraded, 1 newly installed, 0 to remove and 208 not upgraded. 366s Need to get 0 B/720 B of archives. 366s After this operation, 0 B of additional disk space will be used. 366s Get:1 /tmp/autopkgtest.QpPIpa/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [720 B] 366s Selecting previously unselected package autopkgtest-satdep. 366s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 78044 files and directories currently installed.) 366s Preparing to unpack .../2-autopkgtest-satdep.deb ... 366s Unpacking autopkgtest-satdep (0) ... 366s Setting up autopkgtest-satdep (0) ... 369s (Reading database ... 78044 files and directories currently installed.) 369s Removing autopkgtest-satdep (0) ... 369s autopkgtest [18:23:57]: test build-static: [----------------------- 369s + mode=dynamic 369s + getopt -o --long static -n debian/tests/build -- --static 369s + getopt_temp= --static -- 369s + eval set -- --static -- 369s + set -- --static -- 369s + true 369s + mode=static 369s + shift 369s + continue 369s + true 369s + shift 369s + break 369s + mktemp -d 369s + WORKDIR=/tmp/tmp.RCM0TqMucT 369s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 369s + cd /tmp/tmp.RCM0TqMucT 369s + [ -n ] 369s + CROSS_COMPILE= 369s + cat 369s + cat 369s + cat 369s + cat 369s + cat 369s + cat 369s + cflags= 369s + pcflags= 369s + packages=glib-2.0 369s + cflags=-static 369s + pcflags=--static 369s + pkg-config --static --cflags --libs glib-2.0 369s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 370s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 370s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s build (glib, static): OK 370s + echo build (glib, static): OK 370s + [ -x glib-static ] 370s + foo=bar ./glib-static 370s + echo run (glib, static): OK 370s run (glib, static): OK 370s + cflags= 370s + pcflags= 370s + packages=gobject-2.0 370s + cflags=-static 370s + pcflags=--static 370s + pkg-config --static --cflags --libs gobject-2.0 370s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 370s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 370s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s build (gobject, static): OK 370s + echo build (gobject, static): OK 370s + [ -x gobject-static ] 370s + foo=bar ./gobject-static 370s run (gobject, static): OK 370s + echo run (gobject, static): OK 370s + cflags= 370s + pcflags= 370s + packages=gio-2.0 370s + cflags=-static 370s + pcflags=--static 370s + continue 370s + cflags= 370s + pcflags= 370s + packages=gio-unix-2.0 370s + cflags=-static 370s + pcflags=--static 370s + continue 370s + cflags= 370s + pcflags= 370s + packages=gmodule-2.0 370s + cflags=-static 370s + pcflags=--static 370s + pkg-config --static --cflags --libs gmodule-2.0 370s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 370s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 370s (.text+0x610): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 370s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s build (gmodule, static): OK 370s + echo build (gmodule, static): OK 370s + [ -x gmodule-static ] 370s + foo=bar ./gmodule-static 370s + echo run (gmodule, static): OK 370s + cflags= 370s + pcflags= 370s + packages=gthread-2.0 370s + cflags=-static 370s + pcflags=--static 370s + pkg-config --static --cflags --libs gthread-2.0 370s run (gmodule, static): OK 370s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 370s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 370s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 370s build (gthread, static): OK 370s + echo build (gthread, static): OK 370s + [ -x gthread-static ] 370s + foo=bar ./gthread-static 370s + echo run (gthread, static): OK 370s + rm -rf /tmp/tmp.RCM0TqMucT 370s run (gthread, static): OK 371s autopkgtest [18:23:59]: test build-static: -----------------------] 371s build-static PASS (superficial) 371s autopkgtest [18:23:59]: test build-static: - - - - - - - - - - results - - - - - - - - - - 371s autopkgtest [18:23:59]: test installed-tests: preparing testbed 458s autopkgtest [18:25:26]: testbed dpkg architecture: arm64 459s autopkgtest [18:25:27]: testbed apt version: 2.7.12 459s autopkgtest [18:25:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 459s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 459s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 459s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3809 kB] 460s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [501 kB] 460s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 460s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [690 kB] 460s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 460s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [41.7 kB] 460s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 460s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4224 kB] 460s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 460s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [67.6 kB] 460s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 462s Fetched 9523 kB in 2s (5783 kB/s) 462s Reading package lists... 465s Reading package lists... 465s Building dependency tree... 465s Reading state information... 465s Calculating upgrade... 466s The following packages were automatically installed and are no longer required: 466s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 466s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 466s python3-problem-report python3-pyparsing python3-six python3-systemd 466s python3-wadllib 466s Use 'sudo apt autoremove' to remove them. 466s The following packages will be REMOVED: 466s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 466s libglib2.0-0 networkd-dispatcher python3-gi 466s The following NEW packages will be installed: 466s libglib2.0-0t64 xdg-user-dirs 466s The following packages will be upgraded: 466s libselinux1 shared-mime-info 466s 2 upgraded, 2 newly installed, 7 to remove and 0 not upgraded. 466s Need to get 2097 kB of archives. 466s After this operation, 2776 kB disk space will be freed. 466s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libselinux1 arm64 3.5-2ubuntu1 [79.8 kB] 466s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 shared-mime-info arm64 2.4-1build1 [471 kB] 466s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 467s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 467s Fetched 2097 kB in 1s (2986 kB/s) 467s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74758 files and directories currently installed.) 467s Removing networkd-dispatcher (2.2.4-1) ... 468s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 468s Removing apport (2.28.0-0ubuntu1) ... 468s Removing python3-gi (3.47.0-3) ... 468s Removing gir1.2-girepository-2.0:arm64 (1.79.1-1) ... 468s Removing gir1.2-glib-2.0:arm64 (2.79.2-1~ubuntu1) ... 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74589 files and directories currently installed.) 469s Preparing to unpack .../libselinux1_3.5-2ubuntu1_arm64.deb ... 469s Unpacking libselinux1:arm64 (3.5-2ubuntu1) over (3.5-2build1) ... 469s Setting up libselinux1:arm64 (3.5-2ubuntu1) ... 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74589 files and directories currently installed.) 469s Preparing to unpack .../shared-mime-info_2.4-1build1_arm64.deb ... 469s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 469s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 469s udisks2 depends on libglib2.0-0 (>= 2.77.0). 469s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 469s netplan.io depends on libglib2.0-0 (>= 2.70.0). 469s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 469s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 469s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 469s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 469s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 469s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 469s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 469s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 469s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 469s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 469s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 469s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 469s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 469s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 469s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 469s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 469s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 469s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 469s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 469s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 469s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 469s fwupd depends on libglib2.0-0 (>= 2.79.0). 469s bolt depends on libglib2.0-0 (>= 2.56.0). 469s 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74589 files and directories currently installed.) 469s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 469s Selecting previously unselected package libglib2.0-0t64:arm64. 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74564 files and directories currently installed.) 469s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 469s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:arm64.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 469s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 469s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 469s Selecting previously unselected package xdg-user-dirs. 469s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 469s Unpacking xdg-user-dirs (0.18-1) ... 469s Setting up xdg-user-dirs (0.18-1) ... 469s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 469s No schema files found: doing nothing. 469s Setting up shared-mime-info (2.4-1build1) ... 469s Processing triggers for man-db (2.12.0-3) ... 470s Processing triggers for libc-bin (2.39-0ubuntu2) ... 471s Reading package lists... 471s Building dependency tree... 471s Reading state information... 472s The following packages will be REMOVED: 472s apport-symptoms* libgirepository-1.0-1* python3-apport* python3-httplib2* 472s python3-launchpadlib* python3-lazr.restfulclient* python3-lazr.uri* 472s python3-problem-report* python3-pyparsing* python3-six* python3-systemd* 472s python3-wadllib* 472s 0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded. 472s After this operation, 4689 kB disk space will be freed. 472s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74603 files and directories currently installed.) 472s Removing apport-symptoms (0.24) ... 472s Removing libgirepository-1.0-1:arm64 (1.79.1-1) ... 472s Removing python3-apport (2.28.0-0ubuntu1) ... 472s Removing python3-launchpadlib (1.11.0-6) ... 472s Removing python3-lazr.restfulclient (0.14.6-1) ... 472s Removing python3-httplib2 (0.20.4-3) ... 473s Removing python3-wadllib (1.3.6-5) ... 473s Removing python3-lazr.uri (1.0.6-3) ... 473s Removing python3-problem-report (2.28.0-0ubuntu1) ... 473s Removing python3-pyparsing (3.1.1-1) ... 473s Removing python3-six (1.16.0-4) ... 473s Removing python3-systemd (235-1build3) ... 473s Processing triggers for libc-bin (2.39-0ubuntu2) ... 473s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 473s Purging configuration files for python3-launchpadlib (1.11.0-6) ... 474s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 474s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 474s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 474s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 476s Reading package lists... 476s Reading package lists... 476s Building dependency tree... 476s Reading state information... 477s Calculating upgrade... 477s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 477s Reading package lists... 477s Building dependency tree... 477s Reading state information... 478s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 478s autopkgtest [18:25:46]: rebooting testbed after setup commands that affected boot 518s Reading package lists... 518s Building dependency tree... 518s Reading state information... 519s Starting pkgProblemResolver with broken count: 1 519s Starting 2 pkgProblemResolver with broken count: 1 519s Investigating (0) libglib2.0-0t64:arm64 < 2.79.3-3ubuntu5 @ii pmK Ib > 519s Broken libglib2.0-0t64:arm64 Breaks on libglib2.0-0:arm64 < none -> 2.79.2-1~ubuntu1 @rc pumN > (< 2.79.3-3ubuntu5) 519s Considering libglib2.0-0:arm64 125 as a solution to libglib2.0-0t64:arm64 127 519s Done 519s Some packages could not be installed. This may mean that you have 519s requested an impossible situation or if you are using the unstable 519s distribution that some required packages have not yet been created 519s or been moved out of Incoming. 519s The following information may help to resolve the situation: 519s 519s The following packages have unmet dependencies: 520s libglib2.0-0t64 : Breaks: libglib2.0-0 (< 2.79.3-3ubuntu5) 520s E: Unable to correct problems, you have held broken packages. 520s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from noble-proposed 521s Reading package lists... 522s Building dependency tree... 522s Reading state information... 522s Starting pkgProblemResolver with broken count: 0 522s Starting 2 pkgProblemResolver with broken count: 0 522s Done 523s The following additional packages will be installed: 523s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 523s dbus-user-session dbus-x11 desktop-file-utils gir1.2-girepository-2.0 523s gir1.2-glib-2.0 gnome-desktop-testing libdbus-1-3 libdrm-amdgpu1 523s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-1.0-1 523s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 523s libglib2.0-data libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 523s libglx0 libice6 libllvm17t64 libpixman-1-0 libsm6 libunwind8 libvulkan1 523s libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 523s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 523s libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 523s libxt6t64 libxxf86vm1 python3-dbusmock python3-gi python3-packaging 523s x11-common x11-xkb-utils xserver-common xvfb 523s Suggested packages: 523s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 523s Recommended packages: 523s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 523s xfonts-base 524s The following packages will be REMOVED: 524s libelf1 524s The following NEW packages will be installed: 524s autopkgtest-satdep dbus-x11 desktop-file-utils gir1.2-girepository-2.0 524s gir1.2-glib-2.0 gnome-desktop-testing libdrm-amdgpu1 libdrm-nouveau2 524s libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-1.0-1 524s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 524s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 524s libllvm17t64 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 524s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 524s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 524s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 524s python3-dbusmock python3-gi python3-packaging x11-common x11-xkb-utils 524s xserver-common xvfb 524s The following packages will be upgraded: 524s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 524s dbus-user-session libdbus-1-3 libglib2.0-data libxmuu1 524s 9 upgraded, 55 newly installed, 1 to remove and 221 not upgraded. 524s Need to get 39.9 MB/39.9 MB of archives. 524s After this operation, 196 MB of additional disk space will be used. 524s Get:1 /tmp/autopkgtest.QpPIpa/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 524s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build2 [57.9 kB] 524s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 524s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-user-session arm64 1.14.10-4ubuntu2 [9960 B] 524s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-daemon arm64 1.14.10-4ubuntu2 [115 kB] 524s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-bin arm64 1.14.10-4ubuntu2 [38.8 kB] 524s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 524s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus arm64 1.14.10-4ubuntu2 [23.9 kB] 524s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdbus-1-3 arm64 1.14.10-4ubuntu2 [210 kB] 524s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 524s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-1.0-1 arm64 1.79.1-1ubuntu6 [80.3 kB] 524s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 524s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-girepository-2.0 arm64 1.79.1-1ubuntu6 [24.7 kB] 524s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 python3-gi arm64 3.47.0-3build1 [233 kB] 524s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxmuu1 arm64 2:1.1.3-3build1 [9252 B] 524s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-x11 arm64 1.14.10-4ubuntu2 [23.2 kB] 524s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 desktop-file-utils arm64 0.27-2 [52.4 kB] 524s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 gnome-desktop-testing arm64 2021.1-3build1 [16.0 kB] 524s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 524s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 524s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 524s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.8-1 [13.9 kB] 524s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu5 [71.5 kB] 525s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 525s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglapi-mesa arm64 24.0.2-1ubuntu8 [58.0 kB] 525s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libllvm17t64 arm64 1:17.0.6-9build1 [25.0 MB] 525s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 525s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgl1-mesa-dri arm64 24.0.2-1ubuntu8 [8237 kB] 525s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu5 [97.1 kB] 525s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 525s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu5 [215 kB] 525s Get:32 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dbusmock all 0.31.1-1 [85.5 kB] 525s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libglib2.0-tests arm64 2.79.3-3ubuntu5 [2059 kB] 525s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 525s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 525s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 525s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 525s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 526s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 526s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 526s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 526s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 526s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 526s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 526s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglx-mesa0 arm64 24.0.2-1ubuntu8 [177 kB] 526s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 526s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 526s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 526s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 526s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 526s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxt6t64 arm64 1:1.2.1-1.2 [168 kB] 526s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxmu6 arm64 2:1.1.3-3build1 [47.4 kB] 526s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxpm4 arm64 1:3.5.17-1build1 [35.4 kB] 526s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxaw7 arm64 2:1.0.14-1build1 [183 kB] 526s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 526s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 526s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 526s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 526s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 x11-xkb-utils arm64 7.7+8build1 [165 kB] 526s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 526s Get:61 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 526s Get:62 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 526s Get:63 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 526s Get:64 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 527s Fetched 39.9 MB in 2s (19.5 MB/s) 527s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 527s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 527s libbpf1:arm64 depends on libelf1 (>= 0.144). 527s iproute2 depends on libelf1 (>= 0.131). 527s 527s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74343 files and directories currently installed.) 527s Removing libelf1:arm64 (0.190-1) ... 527s Selecting previously unselected package libelf1t64:arm64. 527s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74338 files and directories currently installed.) 527s Preparing to unpack .../00-libelf1t64_0.190-1.1build2_arm64.deb ... 527s Unpacking libelf1t64:arm64 (0.190-1.1build2) ... 527s Preparing to unpack .../01-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 527s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 527s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_arm64.deb ... 527s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 527s Preparing to unpack .../03-dbus-daemon_1.14.10-4ubuntu2_arm64.deb ... 527s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 527s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_arm64.deb ... 527s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 527s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 527s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 527s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_arm64.deb ... 527s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 527s Preparing to unpack .../07-libdbus-1-3_1.14.10-4ubuntu2_arm64.deb ... 527s Unpacking libdbus-1-3:arm64 (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 527s Selecting previously unselected package gir1.2-glib-2.0:arm64. 527s Preparing to unpack .../08-gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 527s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 527s Selecting previously unselected package libgirepository-1.0-1:arm64. 527s Preparing to unpack .../09-libgirepository-1.0-1_1.79.1-1ubuntu6_arm64.deb ... 527s Unpacking libgirepository-1.0-1:arm64 (1.79.1-1ubuntu6) ... 527s Preparing to unpack .../10-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 527s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 527s Selecting previously unselected package gir1.2-girepository-2.0:arm64. 528s Preparing to unpack .../11-gir1.2-girepository-2.0_1.79.1-1ubuntu6_arm64.deb ... 528s Unpacking gir1.2-girepository-2.0:arm64 (1.79.1-1ubuntu6) ... 528s Selecting previously unselected package python3-gi. 528s Preparing to unpack .../12-python3-gi_3.47.0-3build1_arm64.deb ... 528s Unpacking python3-gi (3.47.0-3build1) ... 528s Preparing to unpack .../13-libxmuu1_2%3a1.1.3-3build1_arm64.deb ... 528s Unpacking libxmuu1:arm64 (2:1.1.3-3build1) over (2:1.1.3-3) ... 528s Selecting previously unselected package dbus-x11. 528s Preparing to unpack .../14-dbus-x11_1.14.10-4ubuntu2_arm64.deb ... 528s Unpacking dbus-x11 (1.14.10-4ubuntu2) ... 528s Selecting previously unselected package desktop-file-utils. 528s Preparing to unpack .../15-desktop-file-utils_0.27-2_arm64.deb ... 528s Unpacking desktop-file-utils (0.27-2) ... 528s Selecting previously unselected package gnome-desktop-testing. 528s Preparing to unpack .../16-gnome-desktop-testing_2021.1-3build1_arm64.deb ... 528s Unpacking gnome-desktop-testing (2021.1-3build1) ... 528s Selecting previously unselected package libdrm-amdgpu1:arm64. 528s Preparing to unpack .../17-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 528s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 528s Selecting previously unselected package libdrm-nouveau2:arm64. 528s Preparing to unpack .../18-libdrm-nouveau2_2.4.120-2_arm64.deb ... 528s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 528s Selecting previously unselected package libdrm-radeon1:arm64. 528s Preparing to unpack .../19-libdrm-radeon1_2.4.120-2_arm64.deb ... 528s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 528s Selecting previously unselected package libfontenc1:arm64. 528s Preparing to unpack .../20-libfontenc1_1%3a1.1.8-1_arm64.deb ... 528s Unpacking libfontenc1:arm64 (1:1.1.8-1) ... 528s Selecting previously unselected package libgirepository-2.0-0:arm64. 528s Preparing to unpack .../21-libgirepository-2.0-0_2.79.3-3ubuntu5_arm64.deb ... 528s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 528s Selecting previously unselected package libvulkan1:arm64. 528s Preparing to unpack .../22-libvulkan1_1.3.275.0-1_arm64.deb ... 528s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 528s Selecting previously unselected package libglapi-mesa:arm64. 528s Preparing to unpack .../23-libglapi-mesa_24.0.2-1ubuntu8_arm64.deb ... 528s Unpacking libglapi-mesa:arm64 (24.0.2-1ubuntu8) ... 528s Selecting previously unselected package libllvm17t64:arm64. 528s Preparing to unpack .../24-libllvm17t64_1%3a17.0.6-9build1_arm64.deb ... 528s Unpacking libllvm17t64:arm64 (1:17.0.6-9build1) ... 529s Selecting previously unselected package libxcb-dri3-0:arm64. 529s Preparing to unpack .../25-libxcb-dri3-0_1.15-1_arm64.deb ... 529s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 529s Selecting previously unselected package libgl1-mesa-dri:arm64. 529s Preparing to unpack .../26-libgl1-mesa-dri_24.0.2-1ubuntu8_arm64.deb ... 529s Unpacking libgl1-mesa-dri:arm64 (24.0.2-1ubuntu8) ... 529s Selecting previously unselected package libglib2.0-bin. 529s Preparing to unpack .../27-libglib2.0-bin_2.79.3-3ubuntu5_arm64.deb ... 529s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 529s Selecting previously unselected package python3-packaging. 529s Preparing to unpack .../28-python3-packaging_23.2-1_all.deb ... 529s Unpacking python3-packaging (23.2-1) ... 529s Selecting previously unselected package libglib2.0-dev-bin. 529s Preparing to unpack .../29-libglib2.0-dev-bin_2.79.3-3ubuntu5_arm64.deb ... 529s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 530s Selecting previously unselected package python3-dbusmock. 530s Preparing to unpack .../30-python3-dbusmock_0.31.1-1_all.deb ... 530s Unpacking python3-dbusmock (0.31.1-1) ... 530s Selecting previously unselected package libglib2.0-tests. 530s Preparing to unpack .../31-libglib2.0-tests_2.79.3-3ubuntu5_arm64.deb ... 530s Unpacking libglib2.0-tests (2.79.3-3ubuntu5) ... 530s Selecting previously unselected package libx11-xcb1:arm64. 530s Preparing to unpack .../32-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 530s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 530s Selecting previously unselected package libxcb-dri2-0:arm64. 530s Preparing to unpack .../33-libxcb-dri2-0_1.15-1_arm64.deb ... 530s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 530s Selecting previously unselected package libxcb-glx0:arm64. 530s Preparing to unpack .../34-libxcb-glx0_1.15-1_arm64.deb ... 530s Unpacking libxcb-glx0:arm64 (1.15-1) ... 530s Selecting previously unselected package libxcb-present0:arm64. 530s Preparing to unpack .../35-libxcb-present0_1.15-1_arm64.deb ... 530s Unpacking libxcb-present0:arm64 (1.15-1) ... 530s Selecting previously unselected package libxcb-randr0:arm64. 530s Preparing to unpack .../36-libxcb-randr0_1.15-1_arm64.deb ... 530s Unpacking libxcb-randr0:arm64 (1.15-1) ... 530s Selecting previously unselected package libxcb-shm0:arm64. 530s Preparing to unpack .../37-libxcb-shm0_1.15-1_arm64.deb ... 530s Unpacking libxcb-shm0:arm64 (1.15-1) ... 530s Selecting previously unselected package libxcb-sync1:arm64. 530s Preparing to unpack .../38-libxcb-sync1_1.15-1_arm64.deb ... 530s Unpacking libxcb-sync1:arm64 (1.15-1) ... 530s Selecting previously unselected package libxcb-xfixes0:arm64. 530s Preparing to unpack .../39-libxcb-xfixes0_1.15-1_arm64.deb ... 530s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 530s Selecting previously unselected package libxfixes3:arm64. 530s Preparing to unpack .../40-libxfixes3_1%3a6.0.0-2_arm64.deb ... 530s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 530s Selecting previously unselected package libxshmfence1:arm64. 530s Preparing to unpack .../41-libxshmfence1_1.3-1build4_arm64.deb ... 530s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 530s Selecting previously unselected package libxxf86vm1:arm64. 530s Preparing to unpack .../42-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 530s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 530s Selecting previously unselected package libglx-mesa0:arm64. 530s Preparing to unpack .../43-libglx-mesa0_24.0.2-1ubuntu8_arm64.deb ... 530s Unpacking libglx-mesa0:arm64 (24.0.2-1ubuntu8) ... 530s Selecting previously unselected package x11-common. 530s Preparing to unpack .../44-x11-common_1%3a7.7+23ubuntu2_all.deb ... 530s Unpacking x11-common (1:7.7+23ubuntu2) ... 530s Selecting previously unselected package libice6:arm64. 530s Preparing to unpack .../45-libice6_2%3a1.0.10-1build2_arm64.deb ... 530s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 530s Selecting previously unselected package libpixman-1-0:arm64. 530s Preparing to unpack .../46-libpixman-1-0_0.42.2-1_arm64.deb ... 530s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 530s Selecting previously unselected package libsm6:arm64. 530s Preparing to unpack .../47-libsm6_2%3a1.2.3-1build2_arm64.deb ... 530s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 530s Selecting previously unselected package libunwind8:arm64. 530s Preparing to unpack .../48-libunwind8_1.6.2-3_arm64.deb ... 530s Unpacking libunwind8:arm64 (1.6.2-3) ... 530s Selecting previously unselected package libxt6t64:arm64. 530s Preparing to unpack .../49-libxt6t64_1%3a1.2.1-1.2_arm64.deb ... 530s Unpacking libxt6t64:arm64 (1:1.2.1-1.2) ... 530s Selecting previously unselected package libxmu6:arm64. 530s Preparing to unpack .../50-libxmu6_2%3a1.1.3-3build1_arm64.deb ... 530s Unpacking libxmu6:arm64 (2:1.1.3-3build1) ... 530s Selecting previously unselected package libxpm4:arm64. 531s Preparing to unpack .../51-libxpm4_1%3a3.5.17-1build1_arm64.deb ... 531s Unpacking libxpm4:arm64 (1:3.5.17-1build1) ... 531s Selecting previously unselected package libxaw7:arm64. 531s Preparing to unpack .../52-libxaw7_2%3a1.0.14-1build1_arm64.deb ... 531s Unpacking libxaw7:arm64 (2:1.0.14-1build1) ... 531s Selecting previously unselected package libxfont2:arm64. 531s Preparing to unpack .../53-libxfont2_1%3a2.0.6-1_arm64.deb ... 531s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 531s Selecting previously unselected package libxkbfile1:arm64. 531s Preparing to unpack .../54-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 531s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 531s Selecting previously unselected package libxrender1:arm64. 531s Preparing to unpack .../55-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 531s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 531s Selecting previously unselected package libxrandr2:arm64. 531s Preparing to unpack .../56-libxrandr2_2%3a1.5.2-2_arm64.deb ... 531s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 531s Selecting previously unselected package x11-xkb-utils. 531s Preparing to unpack .../57-x11-xkb-utils_7.7+8build1_arm64.deb ... 531s Unpacking x11-xkb-utils (7.7+8build1) ... 531s Selecting previously unselected package xserver-common. 531s Preparing to unpack .../58-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 531s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 531s Selecting previously unselected package libglvnd0:arm64. 531s Preparing to unpack .../59-libglvnd0_1.7.0-1_arm64.deb ... 531s Unpacking libglvnd0:arm64 (1.7.0-1) ... 531s Selecting previously unselected package libglx0:arm64. 531s Preparing to unpack .../60-libglx0_1.7.0-1_arm64.deb ... 531s Unpacking libglx0:arm64 (1.7.0-1) ... 531s Selecting previously unselected package libgl1:arm64. 531s Preparing to unpack .../61-libgl1_1.7.0-1_arm64.deb ... 531s Unpacking libgl1:arm64 (1.7.0-1) ... 531s Selecting previously unselected package xvfb. 531s Preparing to unpack .../62-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 531s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 531s Selecting previously unselected package autopkgtest-satdep. 531s Preparing to unpack .../63-3-autopkgtest-satdep.deb ... 531s Unpacking autopkgtest-satdep (0) ... 531s Setting up gnome-desktop-testing (2021.1-3build1) ... 531s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 531s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 531s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 531s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 531s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 531s Setting up desktop-file-utils (0.27-2) ... 531s Setting up libxpm4:arm64 (1:3.5.17-1build1) ... 531s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 531s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu5) ... 531s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 531s Setting up libglvnd0:arm64 (1.7.0-1) ... 531s Setting up libxcb-glx0:arm64 (1.15-1) ... 531s Setting up x11-common (1:7.7+23ubuntu2) ... 532s Setting up libxcb-shm0:arm64 (1.15-1) ... 532s Setting up libunwind8:arm64 (1.6.2-3) ... 532s Setting up libelf1t64:arm64 (0.190-1.1build2) ... 532s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 532s Setting up libxcb-present0:arm64 (1.15-1) ... 532s Setting up libfontenc1:arm64 (1:1.1.8-1) ... 532s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 532s Setting up python3-packaging (23.2-1) ... 532s Setting up libllvm17t64:arm64 (1:17.0.6-9build1) ... 532s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 532s Setting up libxcb-sync1:arm64 (1.15-1) ... 532s Setting up libdbus-1-3:arm64 (1.14.10-4ubuntu2) ... 532s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 532s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 532s Setting up libglapi-mesa:arm64 (24.0.2-1ubuntu8) ... 532s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 532s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 532s Setting up libxshmfence1:arm64 (1.3-1build4) ... 532s Setting up libxcb-randr0:arm64 (1.15-1) ... 532s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 532s Setting up libgirepository-1.0-1:arm64 (1.79.1-1ubuntu6) ... 532s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 532s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 532s Setting up libxfont2:arm64 (1:2.0.6-1) ... 532s Setting up libxmuu1:arm64 (2:1.1.3-3build1) ... 532s Setting up dbus-bin (1.14.10-4ubuntu2) ... 532s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 532s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 532s Setting up libice6:arm64 (2:1.0.10-1build2) ... 532s Setting up libgl1-mesa-dri:arm64 (24.0.2-1ubuntu8) ... 532s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 532s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 532s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 532s Setting up gir1.2-girepository-2.0:arm64 (1.79.1-1ubuntu6) ... 532s Setting up dbus (1.14.10-4ubuntu2) ... 532s A reboot is required to replace the running dbus-daemon. 532s Please reboot the system when convenient. 532s Setting up python3-gi (3.47.0-3build1) ... 532s Setting up dbus-x11 (1.14.10-4ubuntu2) ... 532s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 532s Setting up libglx-mesa0:arm64 (24.0.2-1ubuntu8) ... 532s Setting up libglx0:arm64 (1.7.0-1) ... 532s Setting up python3-dbusmock (0.31.1-1) ... 533s Setting up libgl1:arm64 (1.7.0-1) ... 533s Setting up libxt6t64:arm64 (1:1.2.1-1.2) ... 533s Setting up libglib2.0-tests (2.79.3-3ubuntu5) ... 533s Setting up libxmu6:arm64 (2:1.1.3-3build1) ... 533s Setting up libxaw7:arm64 (2:1.0.14-1build1) ... 533s Setting up x11-xkb-utils (7.7+8build1) ... 533s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 533s Setting up xvfb (2:21.1.11-2ubuntu1) ... 533s Setting up autopkgtest-satdep (0) ... 533s Processing triggers for man-db (2.12.0-3) ... 533s Processing triggers for libc-bin (2.39-0ubuntu2) ... 538s (Reading database ... 75885 files and directories currently installed.) 538s Removing autopkgtest-satdep (0) ... 543s autopkgtest [18:26:51]: test installed-tests: [----------------------- 543s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),108(lxd) 543s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 543s group entry: ubuntu:x:1000: 543s Environment: 543s ADTTMP=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp 543s ADT_ARTIFACTS=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts 543s ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1 543s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts 543s AUTOPKGTEST_TESTBED_ARCH=arm64 543s AUTOPKGTEST_TEST_ARCH=arm64 543s AUTOPKGTEST_TMP=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp 543s DEBIAN_FRONTEND=noninteractive 543s DEB_BUILD_OPTIONS=parallel=2 543s GIO_USE_VFS=local 543s GIO_USE_VOLUME_MONITOR=unix 543s HOME=/home/ubuntu 543s LANG=C.UTF-8 543s LOGNAME=ubuntu 543s MAIL=/var/mail/ubuntu 543s OLDPWD=/home/ubuntu 543s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 543s PWD=/tmp/autopkgtest.QpPIpa/build.bGY/src 543s SHELL=/bin/bash 543s SHLVL=1 543s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests 543s SUDO_GID=1000 543s SUDO_UID=1000 543s SUDO_USER=ubuntu 543s TERM=linux 543s USER=ubuntu 543s XDG_RUNTIME_DIR=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp 543s http_proxy=http://squid.internal:3128 543s https_proxy=http://squid.internal:3128 543s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 545s run-with-locales: de_DE=ISO-8859-1... 545s Character set: ISO-8859-1 545s Source file: de_DE 545s Output: /tmp/tmp.CxBmFReTpA/de_DE 546s run-with-locales: de_DE.utf8... 546s Character set: UTF-8 546s Source file: de_DE 546s Output: /tmp/tmp.CxBmFReTpA/de_DE.utf8 549s run-with-locales: de_DE@euro.utf8... 549s Character set: UTF-8 549s Source file: de_DE@euro 549s Output: /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8 550s run-with-locales: el_GR.utf8... 551s Character set: UTF-8 551s Source file: el_GR 551s Output: /tmp/tmp.CxBmFReTpA/el_GR.utf8 553s run-with-locales: en_GB=ISO-8859-1... 553s Character set: ISO-8859-1 553s Source file: en_GB 553s Output: /tmp/tmp.CxBmFReTpA/en_GB 553s run-with-locales: en_GB.utf8... 553s Character set: UTF-8 553s Source file: en_GB 553s Output: /tmp/tmp.CxBmFReTpA/en_GB.utf8 555s run-with-locales: en_US=ISO-8859-1... 555s Character set: ISO-8859-1 555s Source file: en_US 555s Output: /tmp/tmp.CxBmFReTpA/en_US 555s run-with-locales: en_US.utf8... 555s Character set: UTF-8 555s Source file: en_US 555s Output: /tmp/tmp.CxBmFReTpA/en_US.utf8 557s run-with-locales: es_ES.utf8... 557s Character set: UTF-8 557s Source file: es_ES 557s Output: /tmp/tmp.CxBmFReTpA/es_ES.utf8 559s run-with-locales: fa_IR=UTF-8... 559s Character set: UTF-8 559s Source file: fa_IR 559s Output: /tmp/tmp.CxBmFReTpA/fa_IR 562s run-with-locales: fa_IR.utf8... 562s Character set: UTF-8 562s Source file: fa_IR 562s Output: /tmp/tmp.CxBmFReTpA/fa_IR.utf8 563s run-with-locales: fr_FR.utf8... 563s Character set: UTF-8 563s Source file: fr_FR 563s Output: /tmp/tmp.CxBmFReTpA/fr_FR.utf8 565s run-with-locales: hr_HR.utf8... 565s Character set: UTF-8 565s Source file: hr_HR 565s Output: /tmp/tmp.CxBmFReTpA/hr_HR.utf8 568s run-with-locales: ja_JP.utf8... 568s Character set: UTF-8 568s Source file: ja_JP 568s Output: /tmp/tmp.CxBmFReTpA/ja_JP.utf8 570s run-with-locales: ja_JP.EUC-JP... 570s Character set: EUC-JP 570s Source file: ja_JP 570s Output: /tmp/tmp.CxBmFReTpA/ja_JP.eucjp 570s run-with-locales: lt_LT.utf8... 570s Character set: UTF-8 570s Source file: lt_LT 570s Output: /tmp/tmp.CxBmFReTpA/lt_LT.utf8 572s run-with-locales: pl_PL=ISO-8859-2... 572s Character set: ISO-8859-2 572s Source file: pl_PL 572s Output: /tmp/tmp.CxBmFReTpA/pl_PL 573s run-with-locales: pl_PL.ISO-8859-2... 573s Character set: ISO-8859-2 573s Source file: pl_PL 573s Output: /tmp/tmp.CxBmFReTpA/pl_PL.iso88592 573s run-with-locales: pl_PL.utf8... 573s Character set: UTF-8 573s Source file: pl_PL 573s Output: /tmp/tmp.CxBmFReTpA/pl_PL.utf8 575s run-with-locales: ru_RU=ISO-8859-5... 575s Character set: ISO-8859-5 575s Source file: ru_RU 575s Output: /tmp/tmp.CxBmFReTpA/ru_RU 576s run-with-locales: ru_RU.utf8... 576s Character set: UTF-8 576s Source file: ru_RU 576s Output: /tmp/tmp.CxBmFReTpA/ru_RU.utf8 578s run-with-locales: sr_RS=UTF-8... 578s Character set: UTF-8 578s Source file: sr_RS 578s Output: /tmp/tmp.CxBmFReTpA/sr_RS 580s run-with-locales: sr_RS@latin=UTF-8... 580s Character set: UTF-8 580s Source file: sr_RS@latin 580s Output: /tmp/tmp.CxBmFReTpA/sr_RS@latin 581s run-with-locales: sv_SE=ISO-8859-1... 581s Character set: ISO-8859-1 581s Source file: sv_SE 581s Output: /tmp/tmp.CxBmFReTpA/sv_SE 582s run-with-locales: sv_SE.utf8... 582s Character set: UTF-8 582s Source file: sv_SE 582s Output: /tmp/tmp.CxBmFReTpA/sv_SE.utf8 584s run-with-locales: tr_TR=ISO-8859-9... 584s Character set: ISO-8859-9 584s Source file: tr_TR 584s Output: /tmp/tmp.CxBmFReTpA/tr_TR 584s run-with-locales: tr_TR.utf8... 584s Character set: UTF-8 584s Source file: tr_TR 584s Output: /tmp/tmp.CxBmFReTpA/tr_TR.utf8 586s run-with-locales: tt_RU=UTF-8... 586s Character set: UTF-8 586s Source file: tt_RU 586s Output: /tmp/tmp.CxBmFReTpA/tt_RU 588s run-with-locales: tt_RU.utf8... 588s Character set: UTF-8 588s Source file: tt_RU 588s Output: /tmp/tmp.CxBmFReTpA/tt_RU.utf8 590s run-with-locales: tt_RU@iqtelif=UTF-8... 590s Character set: UTF-8 590s Source file: tt_RU@iqtelif 590s Output: /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif 592s /tmp/tmp.CxBmFReTpA 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/lt_LT.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/ja_JP.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/tt_RU 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_TIME 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_NAME 592s /tmp/tmp.CxBmFReTpA/tt_RU/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/sv_SE.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/es_ES.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/el_GR.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/en_US 592s /tmp/tmp.CxBmFReTpA/en_US/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/en_US/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_US/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_US/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/en_US/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/en_US/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/en_US/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/en_US/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/en_US/LC_TIME 592s /tmp/tmp.CxBmFReTpA/en_US/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/en_US/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/en_US/LC_NAME 592s /tmp/tmp.CxBmFReTpA/en_US/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/en_GB.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/de_DE 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_TIME 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_NAME 592s /tmp/tmp.CxBmFReTpA/de_DE/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/tr_TR.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_TIME 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_NAME 592s /tmp/tmp.CxBmFReTpA/pl_PL.iso88592/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/de_DE.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/en_US.utf8 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/en_US.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_TIME 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_NAME 592s /tmp/tmp.CxBmFReTpA/sr_RS@latin/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/ru_RU.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/tt_RU.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/pl_PL 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_TIME 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_NAME 592s /tmp/tmp.CxBmFReTpA/pl_PL/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/fa_IR 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_TIME 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_NAME 592s /tmp/tmp.CxBmFReTpA/fa_IR/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/fa_IR.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/en_GB 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_TIME 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_NAME 592s /tmp/tmp.CxBmFReTpA/en_GB/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_TIME 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_NAME 592s /tmp/tmp.CxBmFReTpA/ja_JP.eucjp/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/sr_RS 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_TIME 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_NAME 592s /tmp/tmp.CxBmFReTpA/sr_RS/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/ru_RU 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_TIME 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_NAME 592s /tmp/tmp.CxBmFReTpA/ru_RU/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_TIME 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_NAME 592s /tmp/tmp.CxBmFReTpA/tt_RU@iqtelif/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/de_DE@euro.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/hr_HR.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/sv_SE 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_TIME 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_NAME 592s /tmp/tmp.CxBmFReTpA/sv_SE/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/tr_TR 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_TIME 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_NAME 592s /tmp/tmp.CxBmFReTpA/tr_TR/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/pl_PL.utf8/LC_NUMERIC 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_IDENTIFICATION 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_ADDRESS 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_COLLATE 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_TELEPHONE 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_CTYPE 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_MEASUREMENT 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_TIME 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_PAPER 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_MONETARY 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_NAME 592s /tmp/tmp.CxBmFReTpA/fr_FR.utf8/LC_NUMERIC 592s 1..316 592s # Running test: glib/checksum.test 592s TAP version 13 592s # random seed: R02Seb77192c25aaeb4ff71826783ad07f54 592s 1..1851 592s # Start of checksum tests 592s ok 1 /checksum/unsupported 592s # Start of MD5 tests 592s ok 2 /checksum/MD5/0 592s ok 3 /checksum/MD5/1 592s ok 4 /checksum/MD5/2 592s ok 5 /checksum/MD5/3 592s ok 6 /checksum/MD5/4 592s ok 7 /checksum/MD5/5 592s ok 8 /checksum/MD5/6 592s ok 9 /checksum/MD5/7 592s ok 10 /checksum/MD5/8 592s ok 11 /checksum/MD5/9 592s ok 12 /checksum/MD5/10 592s ok 13 /checksum/MD5/11 592s ok 14 /checksum/MD5/12 592s ok 15 /checksum/MD5/13 592s ok 16 /checksum/MD5/14 592s ok 17 /checksum/MD5/15 592s ok 18 /checksum/MD5/16 592s ok 19 /checksum/MD5/17 592s ok 20 /checksum/MD5/18 592s ok 21 /checksum/MD5/19 592s ok 22 /checksum/MD5/20 592s ok 23 /checksum/MD5/21 592s ok 24 /checksum/MD5/22 592s ok 25 /checksum/MD5/23 592s ok 26 /checksum/MD5/24 592s ok 27 /checksum/MD5/25 592s ok 28 /checksum/MD5/26 592s ok 29 /checksum/MD5/27 592s ok 30 /checksum/MD5/28 592s ok 31 /checksum/MD5/29 592s ok 32 /checksum/MD5/30 592s ok 33 /checksum/MD5/31 592s ok 34 /checksum/MD5/32 592s ok 35 /checksum/MD5/33 592s ok 36 /checksum/MD5/34 592s ok 37 /checksum/MD5/35 592s ok 38 /checksum/MD5/36 592s ok 39 /checksum/MD5/37 592s ok 40 /checksum/MD5/38 592s ok 41 /checksum/MD5/39 592s ok 42 /checksum/MD5/40 592s ok 43 /checksum/MD5/41 592s ok 44 /checksum/MD5/42 592s ok 45 /checksum/MD5/43 592s ok 46 /checksum/MD5/44 592s ok 47 /checksum/MD5/45 592s ok 48 /checksum/MD5/46 592s ok 49 /checksum/MD5/47 592s ok 50 /checksum/MD5/48 592s ok 51 /checksum/MD5/49 592s ok 52 /checksum/MD5/50 592s ok 53 /checksum/MD5/51 592s ok 54 /checksum/MD5/52 592s ok 55 /checksum/MD5/53 592s ok 56 /checksum/MD5/54 592s ok 57 /checksum/MD5/55 592s ok 58 /checksum/MD5/56 592s ok 59 /checksum/MD5/57 592s ok 60 /checksum/MD5/58 592s ok 61 /checksum/MD5/59 592s ok 62 /checksum/MD5/60 592s ok 63 /checksum/MD5/61 592s ok 64 /checksum/MD5/62 592s ok 65 /checksum/MD5/63 592s ok 66 /checksum/MD5/64 592s ok 67 /checksum/MD5/65 592s ok 68 /checksum/MD5/66 592s ok 69 /checksum/MD5/67 592s ok 70 /checksum/MD5/68 592s ok 71 /checksum/MD5/69 592s ok 72 /checksum/MD5/70 592s ok 73 /checksum/MD5/71 592s ok 74 /checksum/MD5/72 592s ok 75 /checksum/MD5/73 592s ok 76 /checksum/MD5/74 592s ok 77 /checksum/MD5/75 592s ok 78 /checksum/MD5/76 592s ok 79 /checksum/MD5/77 592s ok 80 /checksum/MD5/78 592s ok 81 /checksum/MD5/79 592s ok 82 /checksum/MD5/80 592s ok 83 /checksum/MD5/81 592s ok 84 /checksum/MD5/82 592s ok 85 /checksum/MD5/83 592s ok 86 /checksum/MD5/84 592s ok 87 /checksum/MD5/85 592s ok 88 /checksum/MD5/86 592s ok 89 /checksum/MD5/87 592s ok 90 /checksum/MD5/88 592s ok 91 /checksum/MD5/89 592s ok 92 /checksum/MD5/90 592s ok 93 /checksum/MD5/91 592s ok 94 /checksum/MD5/92 592s ok 95 /checksum/MD5/93 592s ok 96 /checksum/MD5/94 592s ok 97 /checksum/MD5/95 592s ok 98 /checksum/MD5/96 592s ok 99 /checksum/MD5/97 592s ok 100 /checksum/MD5/98 592s ok 101 /checksum/MD5/99 592s ok 102 /checksum/MD5/100 592s ok 103 /checksum/MD5/101 592s ok 104 /checksum/MD5/102 592s ok 105 /checksum/MD5/103 592s ok 106 /checksum/MD5/104 592s ok 107 /checksum/MD5/105 592s ok 108 /checksum/MD5/106 592s ok 109 /checksum/MD5/107 592s ok 110 /checksum/MD5/108 592s ok 111 /checksum/MD5/109 592s ok 112 /checksum/MD5/110 592s ok 113 /checksum/MD5/111 592s ok 114 /checksum/MD5/112 592s ok 115 /checksum/MD5/113 592s ok 116 /checksum/MD5/114 592s ok 117 /checksum/MD5/115 592s ok 118 /checksum/MD5/116 592s ok 119 /checksum/MD5/117 592s ok 120 /checksum/MD5/118 592s ok 121 /checksum/MD5/119 592s ok 122 /checksum/MD5/120 592s ok 123 /checksum/MD5/121 592s ok 124 /checksum/MD5/122 592s ok 125 /checksum/MD5/123 592s ok 126 /checksum/MD5/124 592s ok 127 /checksum/MD5/125 592s ok 128 /checksum/MD5/126 592s ok 129 /checksum/MD5/127 592s ok 130 /checksum/MD5/128 592s ok 131 /checksum/MD5/129 592s ok 132 /checksum/MD5/130 592s ok 133 /checksum/MD5/131 592s ok 134 /checksum/MD5/132 592s ok 135 /checksum/MD5/133 592s ok 136 /checksum/MD5/134 592s ok 137 /checksum/MD5/135 592s ok 138 /checksum/MD5/136 592s ok 139 /checksum/MD5/137 592s ok 140 /checksum/MD5/138 592s ok 141 /checksum/MD5/139 592s ok 142 /checksum/MD5/140 592s ok 143 /checksum/MD5/141 592s ok 144 /checksum/MD5/142 592s ok 145 /checksum/MD5/143 592s ok 146 /checksum/MD5/144 592s ok 147 /checksum/MD5/145 592s ok 148 /checksum/MD5/146 592s ok 149 /checksum/MD5/147 592s ok 150 /checksum/MD5/148 592s ok 151 /checksum/MD5/149 592s ok 152 /checksum/MD5/150 592s ok 153 /checksum/MD5/151 592s ok 154 /checksum/MD5/152 592s ok 155 /checksum/MD5/153 592s ok 156 /checksum/MD5/154 592s ok 157 /checksum/MD5/155 592s ok 158 /checksum/MD5/156 592s ok 159 /checksum/MD5/157 592s ok 160 /checksum/MD5/158 592s ok 161 /checksum/MD5/159 592s ok 162 /checksum/MD5/160 592s ok 163 /checksum/MD5/161 592s ok 164 /checksum/MD5/162 592s ok 165 /checksum/MD5/163 592s ok 166 /checksum/MD5/164 592s ok 167 /checksum/MD5/165 592s ok 168 /checksum/MD5/166 592s ok 169 /checksum/MD5/167 592s ok 170 /checksum/MD5/168 592s ok 171 /checksum/MD5/169 592s ok 172 /checksum/MD5/170 592s ok 173 /checksum/MD5/171 592s ok 174 /checksum/MD5/172 592s ok 175 /checksum/MD5/173 592s ok 176 /checksum/MD5/174 592s ok 177 /checksum/MD5/175 592s ok 178 /checksum/MD5/176 592s ok 179 /checksum/MD5/177 592s ok 180 /checksum/MD5/178 592s ok 181 /checksum/MD5/179 592s ok 182 /checksum/MD5/180 592s ok 183 /checksum/MD5/181 592s ok 184 /checksum/MD5/182 592s ok 185 /checksum/MD5/183 592s ok 186 /checksum/MD5/string 592s ok 187 /checksum/MD5/bytes 592s # Start of reset tests 592s ok 188 /checksum/MD5/reset/0 592s ok 189 /checksum/MD5/reset/1 592s ok 190 /checksum/MD5/reset/2 592s ok 191 /checksum/MD5/reset/3 592s ok 192 /checksum/MD5/reset/4 592s ok 193 /checksum/MD5/reset/5 592s ok 194 /checksum/MD5/reset/6 592s ok 195 /checksum/MD5/reset/7 592s ok 196 /checksum/MD5/reset/8 592s ok 197 /checksum/MD5/reset/9 592s ok 198 /checksum/MD5/reset/10 592s ok 199 /checksum/MD5/reset/11 592s ok 200 /checksum/MD5/reset/12 592s ok 201 /checksum/MD5/reset/13 592s ok 202 /checksum/MD5/reset/14 592s ok 203 /checksum/MD5/reset/15 592s ok 204 /checksum/MD5/reset/16 592s ok 205 /checksum/MD5/reset/17 592s ok 206 /checksum/MD5/reset/18 592s ok 207 /checksum/MD5/reset/19 592s ok 208 /checksum/MD5/reset/20 592s ok 209 /checksum/MD5/reset/21 592s ok 210 /checksum/MD5/reset/22 592s ok 211 /checksum/MD5/reset/23 592s ok 212 /checksum/MD5/reset/24 592s ok 213 /checksum/MD5/reset/25 592s ok 214 /checksum/MD5/reset/26 592s ok 215 /checksum/MD5/reset/27 592s ok 216 /checksum/MD5/reset/28 592s ok 217 /checksum/MD5/reset/29 592s ok 218 /checksum/MD5/reset/30 592s ok 219 /checksum/MD5/reset/31 592s ok 220 /checksum/MD5/reset/32 592s ok 221 /checksum/MD5/reset/33 592s ok 222 /checksum/MD5/reset/34 592s ok 223 /checksum/MD5/reset/35 592s ok 224 /checksum/MD5/reset/36 592s ok 225 /checksum/MD5/reset/37 592s ok 226 /checksum/MD5/reset/38 592s ok 227 /checksum/MD5/reset/39 592s ok 228 /checksum/MD5/reset/40 592s ok 229 /checksum/MD5/reset/41 592s ok 230 /checksum/MD5/reset/42 592s ok 231 /checksum/MD5/reset/43 592s ok 232 /checksum/MD5/reset/44 592s ok 233 /checksum/MD5/reset/45 592s ok 234 /checksum/MD5/reset/46 592s ok 235 /checksum/MD5/reset/47 592s ok 236 /checksum/MD5/reset/48 592s ok 237 /checksum/MD5/reset/49 592s ok 238 /checksum/MD5/reset/50 592s ok 239 /checksum/MD5/reset/51 592s ok 240 /checksum/MD5/reset/52 592s ok 241 /checksum/MD5/reset/53 592s ok 242 /checksum/MD5/reset/54 592s ok 243 /checksum/MD5/reset/55 592s ok 244 /checksum/MD5/reset/56 592s ok 245 /checksum/MD5/reset/57 592s ok 246 /checksum/MD5/reset/58 592s ok 247 /checksum/MD5/reset/59 592s ok 248 /checksum/MD5/reset/60 592s ok 249 /checksum/MD5/reset/61 592s ok 250 /checksum/MD5/reset/62 592s ok 251 /checksum/MD5/reset/63 592s ok 252 /checksum/MD5/reset/64 592s ok 253 /checksum/MD5/reset/65 592s ok 254 /checksum/MD5/reset/66 592s ok 255 /checksum/MD5/reset/67 592s ok 256 /checksum/MD5/reset/68 592s ok 257 /checksum/MD5/reset/69 592s ok 258 /checksum/MD5/reset/70 592s ok 259 /checksum/MD5/reset/71 592s ok 260 /checksum/MD5/reset/72 592s ok 261 /checksum/MD5/reset/73 592s ok 262 /checksum/MD5/reset/74 592s ok 263 /checksum/MD5/reset/75 592s ok 264 /checksum/MD5/reset/76 592s ok 265 /checksum/MD5/reset/77 592s ok 266 /checksum/MD5/reset/78 592s ok 267 /checksum/MD5/reset/79 592s ok 268 /checksum/MD5/reset/80 592s ok 269 /checksum/MD5/reset/81 592s ok 270 /checksum/MD5/reset/82 592s ok 271 /checksum/MD5/reset/83 592s ok 272 /checksum/MD5/reset/84 592s ok 273 /checksum/MD5/reset/85 592s ok 274 /checksum/MD5/reset/86 592s ok 275 /checksum/MD5/reset/87 592s ok 276 /checksum/MD5/reset/88 592s ok 277 /checksum/MD5/reset/89 592s ok 278 /checksum/MD5/reset/90 592s ok 279 /checksum/MD5/reset/91 592s ok 280 /checksum/MD5/reset/92 592s ok 281 /checksum/MD5/reset/93 592s ok 282 /checksum/MD5/reset/94 592s ok 283 /checksum/MD5/reset/95 592s ok 284 /checksum/MD5/reset/96 592s ok 285 /checksum/MD5/reset/97 592s ok 286 /checksum/MD5/reset/98 592s ok 287 /checksum/MD5/reset/99 592s ok 288 /checksum/MD5/reset/100 592s ok 289 /checksum/MD5/reset/101 592s ok 290 /checksum/MD5/reset/102 592s ok 291 /checksum/MD5/reset/103 592s ok 292 /checksum/MD5/reset/104 592s ok 293 /checksum/MD5/reset/105 592s ok 294 /checksum/MD5/reset/106 592s ok 295 /checksum/MD5/reset/107 592s ok 296 /checksum/MD5/reset/108 592s ok 297 /checksum/MD5/reset/109 592s ok 298 /checksum/MD5/reset/110 592s ok 299 /checksum/MD5/reset/111 592s ok 300 /checksum/MD5/reset/112 592s ok 301 /checksum/MD5/reset/113 592s ok 302 /checksum/MD5/reset/114 592s ok 303 /checksum/MD5/reset/115 592s ok 304 /checksum/MD5/reset/116 592s ok 305 /checksum/MD5/reset/117 592s ok 306 /checksum/MD5/reset/118 592s ok 307 /checksum/MD5/reset/119 592s ok 308 /checksum/MD5/reset/120 592s ok 309 /checksum/MD5/reset/121 592s ok 310 /checksum/MD5/reset/122 592s ok 311 /checksum/MD5/reset/123 592s ok 312 /checksum/MD5/reset/124 592s ok 313 /checksum/MD5/reset/125 592s ok 314 /checksum/MD5/reset/126 592s ok 315 /checksum/MD5/reset/127 592s ok 316 /checksum/MD5/reset/128 592s ok 317 /checksum/MD5/reset/129 592s ok 318 /checksum/MD5/reset/130 592s ok 319 /checksum/MD5/reset/131 592s ok 320 /checksum/MD5/reset/132 592s ok 321 /checksum/MD5/reset/133 592s ok 322 /checksum/MD5/reset/134 592s ok 323 /checksum/MD5/reset/135 592s ok 324 /checksum/MD5/reset/136 592s ok 325 /checksum/MD5/reset/137 592s ok 326 /checksum/MD5/reset/138 592s ok 327 /checksum/MD5/reset/139 592s ok 328 /checksum/MD5/reset/140 592s ok 329 /checksum/MD5/reset/141 592s ok 330 /checksum/MD5/reset/142 592s ok 331 /checksum/MD5/reset/143 592s ok 332 /checksum/MD5/reset/144 592s ok 333 /checksum/MD5/reset/145 592s ok 334 /checksum/MD5/reset/146 592s ok 335 /checksum/MD5/reset/147 592s ok 336 /checksum/MD5/reset/148 592s ok 337 /checksum/MD5/reset/149 592s ok 338 /checksum/MD5/reset/150 592s ok 339 /checksum/MD5/reset/151 592s ok 340 /checksum/MD5/reset/152 592s ok 341 /checksum/MD5/reset/153 592s ok 342 /checksum/MD5/reset/154 592s ok 343 /checksum/MD5/reset/155 592s ok 344 /checksum/MD5/reset/156 592s ok 345 /checksum/MD5/reset/157 592s ok 346 /checksum/MD5/reset/158 592s ok 347 /checksum/MD5/reset/159 592s ok 348 /checksum/MD5/reset/160 592s ok 349 /checksum/MD5/reset/161 592s ok 350 /checksum/MD5/reset/162 592s ok 351 /checksum/MD5/reset/163 592s ok 352 /checksum/MD5/reset/164 592s ok 353 /checksum/MD5/reset/165 592s ok 354 /checksum/MD5/reset/166 592s ok 355 /checksum/MD5/reset/167 592s ok 356 /checksum/MD5/reset/168 592s ok 357 /checksum/MD5/reset/169 592s ok 358 /checksum/MD5/reset/170 592s ok 359 /checksum/MD5/reset/171 592s ok 360 /checksum/MD5/reset/172 592s ok 361 /checksum/MD5/reset/173 592s ok 362 /checksum/MD5/reset/174 592s ok 363 /checksum/MD5/reset/175 592s ok 364 /checksum/MD5/reset/176 592s ok 365 /checksum/MD5/reset/177 592s ok 366 /checksum/MD5/reset/178 592s ok 367 /checksum/MD5/reset/179 592s ok 368 /checksum/MD5/reset/180 592s ok 369 /checksum/MD5/reset/181 592s ok 370 /checksum/MD5/reset/182 592s ok 371 /checksum/MD5/reset/183 592s # End of reset tests 592s # End of MD5 tests 592s # Start of SHA1 tests 592s ok 372 /checksum/SHA1/0 592s ok 373 /checksum/SHA1/1 592s ok 374 /checksum/SHA1/2 592s ok 375 /checksum/SHA1/3 592s ok 376 /checksum/SHA1/4 592s ok 377 /checksum/SHA1/5 592s ok 378 /checksum/SHA1/6 592s ok 379 /checksum/SHA1/7 592s ok 380 /checksum/SHA1/8 592s ok 381 /checksum/SHA1/9 592s ok 382 /checksum/SHA1/10 592s ok 383 /checksum/SHA1/11 592s ok 384 /checksum/SHA1/12 592s ok 385 /checksum/SHA1/13 592s ok 386 /checksum/SHA1/14 592s ok 387 /checksum/SHA1/15 592s ok 388 /checksum/SHA1/16 592s ok 389 /checksum/SHA1/17 592s ok 390 /checksum/SHA1/18 592s ok 391 /checksum/SHA1/19 592s ok 392 /checksum/SHA1/20 592s ok 393 /checksum/SHA1/21 592s ok 394 /checksum/SHA1/22 592s ok 395 /checksum/SHA1/23 592s ok 396 /checksum/SHA1/24 592s ok 397 /checksum/SHA1/25 592s ok 398 /checksum/SHA1/26 592s ok 399 /checksum/SHA1/27 592s ok 400 /checksum/SHA1/28 592s ok 401 /checksum/SHA1/29 592s ok 402 /checksum/SHA1/30 592s ok 403 /checksum/SHA1/31 592s ok 404 /checksum/SHA1/32 592s ok 405 /checksum/SHA1/33 592s ok 406 /checksum/SHA1/34 592s ok 407 /checksum/SHA1/35 592s ok 408 /checksum/SHA1/36 592s ok 409 /checksum/SHA1/37 592s ok 410 /checksum/SHA1/38 592s ok 411 /checksum/SHA1/39 592s ok 412 /checksum/SHA1/40 592s ok 413 /checksum/SHA1/41 592s ok 414 /checksum/SHA1/42 592s ok 415 /checksum/SHA1/43 592s ok 416 /checksum/SHA1/44 592s ok 417 /checksum/SHA1/45 592s ok 418 /checksum/SHA1/46 592s ok 419 /checksum/SHA1/47 592s ok 420 /checksum/SHA1/48 592s ok 421 /checksum/SHA1/49 592s ok 422 /checksum/SHA1/50 592s ok 423 /checksum/SHA1/51 592s ok 424 /checksum/SHA1/52 592s ok 425 /checksum/SHA1/53 592s ok 426 /checksum/SHA1/54 592s ok 427 /checksum/SHA1/55 592s ok 428 /checksum/SHA1/56 592s ok 429 /checksum/SHA1/57 592s ok 430 /checksum/SHA1/58 592s ok 431 /checksum/SHA1/59 592s ok 432 /checksum/SHA1/60 592s ok 433 /checksum/SHA1/61 592s ok 434 /checksum/SHA1/62 592s ok 435 /checksum/SHA1/63 592s ok 436 /checksum/SHA1/64 592s ok 437 /checksum/SHA1/65 592s ok 438 /checksum/SHA1/66 592s ok 439 /checksum/SHA1/67 592s ok 440 /checksum/SHA1/68 592s ok 441 /checksum/SHA1/69 592s ok 442 /checksum/SHA1/70 592s ok 443 /checksum/SHA1/71 592s ok 444 /checksum/SHA1/72 592s ok 445 /checksum/SHA1/73 592s ok 446 /checksum/SHA1/74 592s ok 447 /checksum/SHA1/75 592s ok 448 /checksum/SHA1/76 592s ok 449 /checksum/SHA1/77 592s ok 450 /checksum/SHA1/78 592s ok 451 /checksum/SHA1/79 592s ok 452 /checksum/SHA1/80 592s ok 453 /checksum/SHA1/81 592s ok 454 /checksum/SHA1/82 592s ok 455 /checksum/SHA1/83 592s ok 456 /checksum/SHA1/84 592s ok 457 /checksum/SHA1/85 592s ok 458 /checksum/SHA1/86 592s ok 459 /checksum/SHA1/87 592s ok 460 /checksum/SHA1/88 592s ok 461 /checksum/SHA1/89 592s ok 462 /checksum/SHA1/90 592s ok 463 /checksum/SHA1/91 592s ok 464 /checksum/SHA1/92 592s ok 465 /checksum/SHA1/93 592s ok 466 /checksum/SHA1/94 592s ok 467 /checksum/SHA1/95 592s ok 468 /checksum/SHA1/96 592s ok 469 /checksum/SHA1/97 592s ok 470 /checksum/SHA1/98 592s ok 471 /checksum/SHA1/99 592s ok 472 /checksum/SHA1/100 592s ok 473 /checksum/SHA1/101 592s ok 474 /checksum/SHA1/102 592s ok 475 /checksum/SHA1/103 592s ok 476 /checksum/SHA1/104 592s ok 477 /checksum/SHA1/105 592s ok 478 /checksum/SHA1/106 592s ok 479 /checksum/SHA1/107 592s ok 480 /checksum/SHA1/108 592s ok 481 /checksum/SHA1/109 592s ok 482 /checksum/SHA1/110 592s ok 483 /checksum/SHA1/111 592s ok 484 /checksum/SHA1/112 592s ok 485 /checksum/SHA1/113 592s ok 486 /checksum/SHA1/114 592s ok 487 /checksum/SHA1/115 592s ok 488 /checksum/SHA1/116 592s ok 489 /checksum/SHA1/117 592s ok 490 /checksum/SHA1/118 592s ok 491 /checksum/SHA1/119 592s ok 492 /checksum/SHA1/120 592s ok 493 /checksum/SHA1/121 592s ok 494 /checksum/SHA1/122 592s ok 495 /checksum/SHA1/123 592s ok 496 /checksum/SHA1/124 592s ok 497 /checksum/SHA1/125 592s ok 498 /checksum/SHA1/126 592s ok 499 /checksum/SHA1/127 592s ok 500 /checksum/SHA1/128 592s ok 501 /checksum/SHA1/129 592s ok 502 /checksum/SHA1/130 592s ok 503 /checksum/SHA1/131 592s ok 504 /checksum/SHA1/132 592s ok 505 /checksum/SHA1/133 592s ok 506 /checksum/SHA1/134 592s ok 507 /checksum/SHA1/135 592s ok 508 /checksum/SHA1/136 592s ok 509 /checksum/SHA1/137 592s ok 510 /checksum/SHA1/138 592s ok 511 /checksum/SHA1/139 592s ok 512 /checksum/SHA1/140 592s ok 513 /checksum/SHA1/141 592s ok 514 /checksum/SHA1/142 592s ok 515 /checksum/SHA1/143 592s ok 516 /checksum/SHA1/144 592s ok 517 /checksum/SHA1/145 592s ok 518 /checksum/SHA1/146 592s ok 519 /checksum/SHA1/147 592s ok 520 /checksum/SHA1/148 592s ok 521 /checksum/SHA1/149 592s ok 522 /checksum/SHA1/150 592s ok 523 /checksum/SHA1/151 592s ok 524 /checksum/SHA1/152 592s ok 525 /checksum/SHA1/153 592s ok 526 /checksum/SHA1/154 592s ok 527 /checksum/SHA1/155 592s ok 528 /checksum/SHA1/156 592s ok 529 /checksum/SHA1/157 592s ok 530 /checksum/SHA1/158 592s ok 531 /checksum/SHA1/159 592s ok 532 /checksum/SHA1/160 592s ok 533 /checksum/SHA1/161 592s ok 534 /checksum/SHA1/162 592s ok 535 /checksum/SHA1/163 592s ok 536 /checksum/SHA1/164 592s ok 537 /checksum/SHA1/165 592s ok 538 /checksum/SHA1/166 592s ok 539 /checksum/SHA1/167 592s ok 540 /checksum/SHA1/168 592s ok 541 /checksum/SHA1/169 592s ok 542 /checksum/SHA1/170 592s ok 543 /checksum/SHA1/171 592s ok 544 /checksum/SHA1/172 592s ok 545 /checksum/SHA1/173 592s ok 546 /checksum/SHA1/174 592s ok 547 /checksum/SHA1/175 592s ok 548 /checksum/SHA1/176 592s ok 549 /checksum/SHA1/177 592s ok 550 /checksum/SHA1/178 592s ok 551 /checksum/SHA1/179 592s ok 552 /checksum/SHA1/180 592s ok 553 /checksum/SHA1/181 592s ok 554 /checksum/SHA1/182 592s ok 555 /checksum/SHA1/183 592s ok 556 /checksum/SHA1/string 592s ok 557 /checksum/SHA1/bytes 592s # Start of reset tests 592s ok 558 /checksum/SHA1/reset/0 592s ok 559 /checksum/SHA1/reset/1 592s ok 560 /checksum/SHA1/reset/2 592s ok 561 /checksum/SHA1/reset/3 592s ok 562 /checksum/SHA1/reset/4 592s ok 563 /checksum/SHA1/reset/5 592s ok 564 /checksum/SHA1/reset/6 592s ok 565 /checksum/SHA1/reset/7 592s ok 566 /checksum/SHA1/reset/8 592s ok 567 /checksum/SHA1/reset/9 592s ok 568 /checksum/SHA1/reset/10 592s ok 569 /checksum/SHA1/reset/11 592s ok 570 /checksum/SHA1/reset/12 592s ok 571 /checksum/SHA1/reset/13 592s ok 572 /checksum/SHA1/reset/14 592s ok 573 /checksum/SHA1/reset/15 592s ok 574 /checksum/SHA1/reset/16 592s ok 575 /checksum/SHA1/reset/17 592s ok 576 /checksum/SHA1/reset/18 592s ok 577 /checksum/SHA1/reset/19 592s ok 578 /checksum/SHA1/reset/20 592s ok 579 /checksum/SHA1/reset/21 592s ok 580 /checksum/SHA1/reset/22 592s ok 581 /checksum/SHA1/reset/23 592s ok 582 /checksum/SHA1/reset/24 592s ok 583 /checksum/SHA1/reset/25 592s ok 584 /checksum/SHA1/reset/26 592s ok 585 /checksum/SHA1/reset/27 592s ok 586 /checksum/SHA1/reset/28 592s ok 587 /checksum/SHA1/reset/29 592s ok 588 /checksum/SHA1/reset/30 592s ok 589 /checksum/SHA1/reset/31 592s ok 590 /checksum/SHA1/reset/32 592s ok 591 /checksum/SHA1/reset/33 592s ok 592 /checksum/SHA1/reset/34 592s ok 593 /checksum/SHA1/reset/35 592s ok 594 /checksum/SHA1/reset/36 592s ok 595 /checksum/SHA1/reset/37 592s ok 596 /checksum/SHA1/reset/38 592s ok 597 /checksum/SHA1/reset/39 592s ok 598 /checksum/SHA1/reset/40 592s ok 599 /checksum/SHA1/reset/41 592s ok 600 /checksum/SHA1/reset/42 592s ok 601 /checksum/SHA1/reset/43 592s ok 602 /checksum/SHA1/reset/44 592s ok 603 /checksum/SHA1/reset/45 592s ok 604 /checksum/SHA1/reset/46 592s ok 605 /checksum/SHA1/reset/47 592s ok 606 /checksum/SHA1/reset/48 592s ok 607 /checksum/SHA1/reset/49 592s ok 608 /checksum/SHA1/reset/50 592s ok 609 /checksum/SHA1/reset/51 592s ok 610 /checksum/SHA1/reset/52 592s ok 611 /checksum/SHA1/reset/53 592s ok 612 /checksum/SHA1/reset/54 592s ok 613 /checksum/SHA1/reset/55 592s ok 614 /checksum/SHA1/reset/56 592s ok 615 /checksum/SHA1/reset/57 592s ok 616 /checksum/SHA1/reset/58 592s ok 617 /checksum/SHA1/reset/59 592s ok 618 /checksum/SHA1/reset/60 592s ok 619 /checksum/SHA1/reset/61 592s ok 620 /checksum/SHA1/reset/62 592s ok 621 /checksum/SHA1/reset/63 592s ok 622 /checksum/SHA1/reset/64 592s ok 623 /checksum/SHA1/reset/65 592s ok 624 /checksum/SHA1/reset/66 592s ok 625 /checksum/SHA1/reset/67 592s ok 626 /checksum/SHA1/reset/68 592s ok 627 /checksum/SHA1/reset/69 592s ok 628 /checksum/SHA1/reset/70 592s ok 629 /checksum/SHA1/reset/71 592s ok 630 /checksum/SHA1/reset/72 592s ok 631 /checksum/SHA1/reset/73 592s ok 632 /checksum/SHA1/reset/74 592s ok 633 /checksum/SHA1/reset/75 592s ok 634 /checksum/SHA1/reset/76 592s ok 635 /checksum/SHA1/reset/77 592s ok 636 /checksum/SHA1/reset/78 592s ok 637 /checksum/SHA1/reset/79 592s ok 638 /checksum/SHA1/reset/80 592s ok 639 /checksum/SHA1/reset/81 592s ok 640 /checksum/SHA1/reset/82 592s ok 641 /checksum/SHA1/reset/83 592s ok 642 /checksum/SHA1/reset/84 592s ok 643 /checksum/SHA1/reset/85 592s ok 644 /checksum/SHA1/reset/86 592s ok 645 /checksum/SHA1/reset/87 592s ok 646 /checksum/SHA1/reset/88 592s ok 647 /checksum/SHA1/reset/89 592s ok 648 /checksum/SHA1/reset/90 592s ok 649 /checksum/SHA1/reset/91 592s ok 650 /checksum/SHA1/reset/92 592s ok 651 /checksum/SHA1/reset/93 592s ok 652 /checksum/SHA1/reset/94 592s ok 653 /checksum/SHA1/reset/95 592s ok 654 /checksum/SHA1/reset/96 592s ok 655 /checksum/SHA1/reset/97 592s ok 656 /checksum/SHA1/reset/98 592s ok 657 /checksum/SHA1/reset/99 592s ok 658 /checksum/SHA1/reset/100 592s ok 659 /checksum/SHA1/reset/101 592s ok 660 /checksum/SHA1/reset/102 592s ok 661 /checksum/SHA1/reset/103 592s ok 662 /checksum/SHA1/reset/104 592s ok 663 /checksum/SHA1/reset/105 592s ok 664 /checksum/SHA1/reset/106 592s ok 665 /checksum/SHA1/reset/107 592s ok 666 /checksum/SHA1/reset/108 592s ok 667 /checksum/SHA1/reset/109 592s ok 668 /checksum/SHA1/reset/110 592s ok 669 /checksum/SHA1/reset/111 592s ok 670 /checksum/SHA1/reset/112 592s ok 671 /checksum/SHA1/reset/113 592s ok 672 /checksum/SHA1/reset/114 592s ok 673 /checksum/SHA1/reset/115 592s ok 674 /checksum/SHA1/reset/116 592s ok 675 /checksum/SHA1/reset/117 592s ok 676 /checksum/SHA1/reset/118 592s ok 677 /checksum/SHA1/reset/119 592s ok 678 /checksum/SHA1/reset/120 592s ok 679 /checksum/SHA1/reset/121 592s ok 680 /checksum/SHA1/reset/122 592s ok 681 /checksum/SHA1/reset/123 592s ok 682 /checksum/SHA1/reset/124 592s ok 683 /checksum/SHA1/reset/125 592s ok 684 /checksum/SHA1/reset/126 592s ok 685 /checksum/SHA1/reset/127 592s ok 686 /checksum/SHA1/reset/128 592s ok 687 /checksum/SHA1/reset/129 592s ok 688 /checksum/SHA1/reset/130 592s ok 689 /checksum/SHA1/reset/131 592s ok 690 /checksum/SHA1/reset/132 592s ok 691 /checksum/SHA1/reset/133 592s ok 692 /checksum/SHA1/reset/134 592s ok 693 /checksum/SHA1/reset/135 592s ok 694 /checksum/SHA1/reset/136 592s ok 695 /checksum/SHA1/reset/137 592s ok 696 /checksum/SHA1/reset/138 592s ok 697 /checksum/SHA1/reset/139 592s ok 698 /checksum/SHA1/reset/140 592s ok 699 /checksum/SHA1/reset/141 592s ok 700 /checksum/SHA1/reset/142 592s ok 701 /checksum/SHA1/reset/143 592s ok 702 /checksum/SHA1/reset/144 592s ok 703 /checksum/SHA1/reset/145 592s ok 704 /checksum/SHA1/reset/146 592s ok 705 /checksum/SHA1/reset/147 592s ok 706 /checksum/SHA1/reset/148 592s ok 707 /checksum/SHA1/reset/149 592s ok 708 /checksum/SHA1/reset/150 592s ok 709 /checksum/SHA1/reset/151 592s ok 710 /checksum/SHA1/reset/152 592s ok 711 /checksum/SHA1/reset/153 592s ok 712 /checksum/SHA1/reset/154 592s ok 713 /checksum/SHA1/reset/155 592s ok 714 /checksum/SHA1/reset/156 592s ok 715 /checksum/SHA1/reset/157 592s ok 716 /checksum/SHA1/reset/158 592s ok 717 /checksum/SHA1/reset/159 592s ok 718 /checksum/SHA1/reset/160 592s ok 719 /checksum/SHA1/reset/161 592s ok 720 /checksum/SHA1/reset/162 592s ok 721 /checksum/SHA1/reset/163 592s ok 722 /checksum/SHA1/reset/164 592s ok 723 /checksum/SHA1/reset/165 592s ok 724 /checksum/SHA1/reset/166 592s ok 725 /checksum/SHA1/reset/167 592s ok 726 /checksum/SHA1/reset/168 592s ok 727 /checksum/SHA1/reset/169 592s ok 728 /checksum/SHA1/reset/170 592s ok 729 /checksum/SHA1/reset/171 592s ok 730 /checksum/SHA1/reset/172 592s ok 731 /checksum/SHA1/reset/173 592s ok 732 /checksum/SHA1/reset/174 592s ok 733 /checksum/SHA1/reset/175 592s ok 734 /checksum/SHA1/reset/176 592s ok 735 /checksum/SHA1/reset/177 592s ok 736 /checksum/SHA1/reset/178 592s ok 737 /checksum/SHA1/reset/179 592s ok 738 /checksum/SHA1/reset/180 592s ok 739 /checksum/SHA1/reset/181 592s ok 740 /checksum/SHA1/reset/182 592s ok 741 /checksum/SHA1/reset/183 592s # End of reset tests 592s # End of SHA1 tests 592s # Start of SHA256 tests 592s ok 742 /checksum/SHA256/0 592s ok 743 /checksum/SHA256/1 592s ok 744 /checksum/SHA256/2 592s ok 745 /checksum/SHA256/3 592s ok 746 /checksum/SHA256/4 592s ok 747 /checksum/SHA256/5 592s ok 748 /checksum/SHA256/6 592s ok 749 /checksum/SHA256/7 592s ok 750 /checksum/SHA256/8 592s ok 751 /checksum/SHA256/9 592s ok 752 /checksum/SHA256/10 592s ok 753 /checksum/SHA256/11 592s ok 754 /checksum/SHA256/12 592s ok 755 /checksum/SHA256/13 592s ok 756 /checksum/SHA256/14 592s ok 757 /checksum/SHA256/15 592s ok 758 /checksum/SHA256/16 592s ok 759 /checksum/SHA256/17 592s ok 760 /checksum/SHA256/18 592s ok 761 /checksum/SHA256/19 592s ok 762 /checksum/SHA256/20 592s ok 763 /checksum/SHA256/21 592s ok 764 /checksum/SHA256/22 592s ok 765 /checksum/SHA256/23 592s ok 766 /checksum/SHA256/24 592s ok 767 /checksum/SHA256/25 592s ok 768 /checksum/SHA256/26 592s ok 769 /checksum/SHA256/27 592s ok 770 /checksum/SHA256/28 592s ok 771 /checksum/SHA256/29 592s ok 772 /checksum/SHA256/30 592s ok 773 /checksum/SHA256/31 592s ok 774 /checksum/SHA256/32 592s ok 775 /checksum/SHA256/33 592s ok 776 /checksum/SHA256/34 592s ok 777 /checksum/SHA256/35 592s ok 778 /checksum/SHA256/36 592s ok 779 /checksum/SHA256/37 592s ok 780 /checksum/SHA256/38 592s ok 781 /checksum/SHA256/39 592s ok 782 /checksum/SHA256/40 592s ok 783 /checksum/SHA256/41 592s ok 784 /checksum/SHA256/42 592s ok 785 /checksum/SHA256/43 592s ok 786 /checksum/SHA256/44 592s ok 787 /checksum/SHA256/45 592s ok 788 /checksum/SHA256/46 592s ok 789 /checksum/SHA256/47 592s ok 790 /checksum/SHA256/48 592s ok 791 /checksum/SHA256/49 592s ok 792 /checksum/SHA256/50 592s ok 793 /checksum/SHA256/51 592s ok 794 /checksum/SHA256/52 592s ok 795 /checksum/SHA256/53 592s ok 796 /checksum/SHA256/54 592s ok 797 /checksum/SHA256/55 592s ok 798 /checksum/SHA256/56 592s ok 799 /checksum/SHA256/57 592s ok 800 /checksum/SHA256/58 592s ok 801 /checksum/SHA256/59 592s ok 802 /checksum/SHA256/60 592s ok 803 /checksum/SHA256/61 592s ok 804 /checksum/SHA256/62 592s ok 805 /checksum/SHA256/63 592s ok 806 /checksum/SHA256/64 592s ok 807 /checksum/SHA256/65 592s ok 808 /checksum/SHA256/66 592s ok 809 /checksum/SHA256/67 592s ok 810 /checksum/SHA256/68 592s ok 811 /checksum/SHA256/69 592s ok 812 /checksum/SHA256/70 592s ok 813 /checksum/SHA256/71 592s ok 814 /checksum/SHA256/72 592s ok 815 /checksum/SHA256/73 592s ok 816 /checksum/SHA256/74 592s ok 817 /checksum/SHA256/75 592s ok 818 /checksum/SHA256/76 592s ok 819 /checksum/SHA256/77 592s ok 820 /checksum/SHA256/78 592s ok 821 /checksum/SHA256/79 592s ok 822 /checksum/SHA256/80 592s ok 823 /checksum/SHA256/81 592s ok 824 /checksum/SHA256/82 592s ok 825 /checksum/SHA256/83 592s ok 826 /checksum/SHA256/84 592s ok 827 /checksum/SHA256/85 592s ok 828 /checksum/SHA256/86 592s ok 829 /checksum/SHA256/87 592s ok 830 /checksum/SHA256/88 592s ok 831 /checksum/SHA256/89 592s ok 832 /checksum/SHA256/90 592s ok 833 /checksum/SHA256/91 592s ok 834 /checksum/SHA256/92 592s ok 835 /checksum/SHA256/93 592s ok 836 /checksum/SHA256/94 592s ok 837 /checksum/SHA256/95 592s ok 838 /checksum/SHA256/96 592s ok 839 /checksum/SHA256/97 592s ok 840 /checksum/SHA256/98 592s ok 841 /checksum/SHA256/99 592s ok 842 /checksum/SHA256/100 592s ok 843 /checksum/SHA256/101 592s ok 844 /checksum/SHA256/102 592s ok 845 /checksum/SHA256/103 592s ok 846 /checksum/SHA256/104 592s ok 847 /checksum/SHA256/105 592s ok 848 /checksum/SHA256/106 592s ok 849 /checksum/SHA256/107 592s ok 850 /checksum/SHA256/108 592s ok 851 /checksum/SHA256/109 592s ok 852 /checksum/SHA256/110 592s ok 853 /checksum/SHA256/111 592s ok 854 /checksum/SHA256/112 592s ok 855 /checksum/SHA256/113 592s ok 856 /checksum/SHA256/114 592s ok 857 /checksum/SHA256/115 592s ok 858 /checksum/SHA256/116 592s ok 859 /checksum/SHA256/117 592s ok 860 /checksum/SHA256/118 592s ok 861 /checksum/SHA256/119 592s ok 862 /checksum/SHA256/120 592s ok 863 /checksum/SHA256/121 592s ok 864 /checksum/SHA256/122 592s ok 865 /checksum/SHA256/123 592s ok 866 /checksum/SHA256/124 592s ok 867 /checksum/SHA256/125 592s ok 868 /checksum/SHA256/126 592s ok 869 /checksum/SHA256/127 592s ok 870 /checksum/SHA256/128 592s ok 871 /checksum/SHA256/129 592s ok 872 /checksum/SHA256/130 592s ok 873 /checksum/SHA256/131 592s ok 874 /checksum/SHA256/132 592s ok 875 /checksum/SHA256/133 592s ok 876 /checksum/SHA256/134 592s ok 877 /checksum/SHA256/135 592s ok 878 /checksum/SHA256/136 592s ok 879 /checksum/SHA256/137 592s ok 880 /checksum/SHA256/138 592s ok 881 /checksum/SHA256/139 592s ok 882 /checksum/SHA256/140 592s ok 883 /checksum/SHA256/141 592s ok 884 /checksum/SHA256/142 592s ok 885 /checksum/SHA256/143 592s ok 886 /checksum/SHA256/144 592s ok 887 /checksum/SHA256/145 592s ok 888 /checksum/SHA256/146 592s ok 889 /checksum/SHA256/147 592s ok 890 /checksum/SHA256/148 592s ok 891 /checksum/SHA256/149 592s ok 892 /checksum/SHA256/150 592s ok 893 /checksum/SHA256/151 592s ok 894 /checksum/SHA256/152 592s ok 895 /checksum/SHA256/153 592s ok 896 /checksum/SHA256/154 592s ok 897 /checksum/SHA256/155 592s ok 898 /checksum/SHA256/156 592s ok 899 /checksum/SHA256/157 592s ok 900 /checksum/SHA256/158 592s ok 901 /checksum/SHA256/159 592s ok 902 /checksum/SHA256/160 592s ok 903 /checksum/SHA256/161 592s ok 904 /checksum/SHA256/162 592s ok 905 /checksum/SHA256/163 592s ok 906 /checksum/SHA256/164 592s ok 907 /checksum/SHA256/165 592s ok 908 /checksum/SHA256/166 592s ok 909 /checksum/SHA256/167 592s ok 910 /checksum/SHA256/168 592s ok 911 /checksum/SHA256/169 592s ok 912 /checksum/SHA256/170 592s ok 913 /checksum/SHA256/171 592s ok 914 /checksum/SHA256/172 592s ok 915 /checksum/SHA256/173 592s ok 916 /checksum/SHA256/174 592s ok 917 /checksum/SHA256/175 592s ok 918 /checksum/SHA256/176 592s ok 919 /checksum/SHA256/177 592s ok 920 /checksum/SHA256/178 592s ok 921 /checksum/SHA256/179 592s ok 922 /checksum/SHA256/180 592s ok 923 /checksum/SHA256/181 592s ok 924 /checksum/SHA256/182 592s ok 925 /checksum/SHA256/183 592s ok 926 /checksum/SHA256/string 592s ok 927 /checksum/SHA256/bytes 592s # Start of reset tests 592s ok 928 /checksum/SHA256/reset/0 592s ok 929 /checksum/SHA256/reset/1 592s ok 930 /checksum/SHA256/reset/2 592s ok 931 /checksum/SHA256/reset/3 592s ok 932 /checksum/SHA256/reset/4 592s ok 933 /checksum/SHA256/reset/5 592s ok 934 /checksum/SHA256/reset/6 592s ok 935 /checksum/SHA256/reset/7 592s ok 936 /checksum/SHA256/reset/8 592s ok 937 /checksum/SHA256/reset/9 592s ok 938 /checksum/SHA256/reset/10 592s ok 939 /checksum/SHA256/reset/11 592s ok 940 /checksum/SHA256/reset/12 592s ok 941 /checksum/SHA256/reset/13 592s ok 942 /checksum/SHA256/reset/14 592s ok 943 /checksum/SHA256/reset/15 592s ok 944 /checksum/SHA256/reset/16 592s ok 945 /checksum/SHA256/reset/17 592s ok 946 /checksum/SHA256/reset/18 592s ok 947 /checksum/SHA256/reset/19 592s ok 948 /checksum/SHA256/reset/20 592s ok 949 /checksum/SHA256/reset/21 592s ok 950 /checksum/SHA256/reset/22 592s ok 951 /checksum/SHA256/reset/23 592s ok 952 /checksum/SHA256/reset/24 592s ok 953 /checksum/SHA256/reset/25 592s ok 954 /checksum/SHA256/reset/26 592s ok 955 /checksum/SHA256/reset/27 592s ok 956 /checksum/SHA256/reset/28 592s ok 957 /checksum/SHA256/reset/29 592s ok 958 /checksum/SHA256/reset/30 592s ok 959 /checksum/SHA256/reset/31 592s ok 960 /checksum/SHA256/reset/32 592s ok 961 /checksum/SHA256/reset/33 592s ok 962 /checksum/SHA256/reset/34 592s ok 963 /checksum/SHA256/reset/35 592s ok 964 /checksum/SHA256/reset/36 592s ok 965 /checksum/SHA256/reset/37 592s ok 966 /checksum/SHA256/reset/38 592s ok 967 /checksum/SHA256/reset/39 592s ok 968 /checksum/SHA256/reset/40 592s ok 969 /checksum/SHA256/reset/41 592s ok 970 /checksum/SHA256/reset/42 592s ok 971 /checksum/SHA256/reset/43 592s ok 972 /checksum/SHA256/reset/44 592s ok 973 /checksum/SHA256/reset/45 592s ok 974 /checksum/SHA256/reset/46 592s ok 975 /checksum/SHA256/reset/47 592s ok 976 /checksum/SHA256/reset/48 592s ok 977 /checksum/SHA256/reset/49 592s ok 978 /checksum/SHA256/reset/50 592s ok 979 /checksum/SHA256/reset/51 592s ok 980 /checksum/SHA256/reset/52 592s ok 981 /checksum/SHA256/reset/53 592s ok 982 /checksum/SHA256/reset/54 592s ok 983 /checksum/SHA256/reset/55 592s ok 984 /checksum/SHA256/reset/56 592s ok 985 /checksum/SHA256/reset/57 592s ok 986 /checksum/SHA256/reset/58 592s ok 987 /checksum/SHA256/reset/59 592s ok 988 /checksum/SHA256/reset/60 592s ok 989 /checksum/SHA256/reset/61 592s ok 990 /checksum/SHA256/reset/62 592s ok 991 /checksum/SHA256/reset/63 592s ok 992 /checksum/SHA256/reset/64 592s ok 993 /checksum/SHA256/reset/65 592s ok 994 /checksum/SHA256/reset/66 592s ok 995 /checksum/SHA256/reset/67 592s ok 996 /checksum/SHA256/reset/68 592s ok 997 /checksum/SHA256/reset/69 592s ok 998 /checksum/SHA256/reset/70 592s ok 999 /checksum/SHA256/reset/71 592s ok 1000 /checksum/SHA256/reset/72 592s ok 1001 /checksum/SHA256/reset/73 592s ok 1002 /checksum/SHA256/reset/74 592s ok 1003 /checksum/SHA256/reset/75 592s ok 1004 /checksum/SHA256/reset/76 592s ok 1005 /checksum/SHA256/reset/77 592s ok 1006 /checksum/SHA256/reset/78 592s ok 1007 /checksum/SHA256/reset/79 592s ok 1008 /checksum/SHA256/reset/80 592s ok 1009 /checksum/SHA256/reset/81 592s ok 1010 /checksum/SHA256/reset/82 592s ok 1011 /checksum/SHA256/reset/83 592s ok 1012 /checksum/SHA256/reset/84 592s ok 1013 /checksum/SHA256/reset/85 592s ok 1014 /checksum/SHA256/reset/86 592s ok 1015 /checksum/SHA256/reset/87 592s ok 1016 /checksum/SHA256/reset/88 592s ok 1017 /checksum/SHA256/reset/89 592s ok 1018 /checksum/SHA256/reset/90 592s ok 1019 /checksum/SHA256/reset/91 592s ok 1020 /checksum/SHA256/reset/92 592s ok 1021 /checksum/SHA256/reset/93 592s ok 1022 /checksum/SHA256/reset/94 592s ok 1023 /checksum/SHA256/reset/95 592s ok 1024 /checksum/SHA256/reset/96 592s ok 1025 /checksum/SHA256/reset/97 592s ok 1026 /checksum/SHA256/reset/98 592s ok 1027 /checksum/SHA256/reset/99 592s ok 1028 /checksum/SHA256/reset/100 592s ok 1029 /checksum/SHA256/reset/101 592s ok 1030 /checksum/SHA256/reset/102 592s ok 1031 /checksum/SHA256/reset/103 592s ok 1032 /checksum/SHA256/reset/104 592s ok 1033 /checksum/SHA256/reset/105 592s ok 1034 /checksum/SHA256/reset/106 592s ok 1035 /checksum/SHA256/reset/107 592s ok 1036 /checksum/SHA256/reset/108 592s ok 1037 /checksum/SHA256/reset/109 592s ok 1038 /checksum/SHA256/reset/110 592s ok 1039 /checksum/SHA256/reset/111 592s ok 1040 /checksum/SHA256/reset/112 592s ok 1041 /checksum/SHA256/reset/113 592s ok 1042 /checksum/SHA256/reset/114 592s ok 1043 /checksum/SHA256/reset/115 592s ok 1044 /checksum/SHA256/reset/116 592s ok 1045 /checksum/SHA256/reset/117 592s ok 1046 /checksum/SHA256/reset/118 592s ok 1047 /checksum/SHA256/reset/119 592s ok 1048 /checksum/SHA256/reset/120 592s ok 1049 /checksum/SHA256/reset/121 592s ok 1050 /checksum/SHA256/reset/122 592s ok 1051 /checksum/SHA256/reset/123 592s ok 1052 /checksum/SHA256/reset/124 592s ok 1053 /checksum/SHA256/reset/125 592s ok 1054 /checksum/SHA256/reset/126 592s ok 1055 /checksum/SHA256/reset/127 592s ok 1056 /checksum/SHA256/reset/128 592s ok 1057 /checksum/SHA256/reset/129 592s ok 1058 /checksum/SHA256/reset/130 592s ok 1059 /checksum/SHA256/reset/131 592s ok 1060 /checksum/SHA256/reset/132 592s ok 1061 /checksum/SHA256/reset/133 592s ok 1062 /checksum/SHA256/reset/134 592s ok 1063 /checksum/SHA256/reset/135 592s ok 1064 /checksum/SHA256/reset/136 592s ok 1065 /checksum/SHA256/reset/137 592s ok 1066 /checksum/SHA256/reset/138 592s ok 1067 /checksum/SHA256/reset/139 592s ok 1068 /checksum/SHA256/reset/140 592s ok 1069 /checksum/SHA256/reset/141 592s ok 1070 /checksum/SHA256/reset/142 592s ok 1071 /checksum/SHA256/reset/143 592s ok 1072 /checksum/SHA256/reset/144 592s ok 1073 /checksum/SHA256/reset/145 592s ok 1074 /checksum/SHA256/reset/146 592s ok 1075 /checksum/SHA256/reset/147 592s ok 1076 /checksum/SHA256/reset/148 592s ok 1077 /checksum/SHA256/reset/149 592s ok 1078 /checksum/SHA256/reset/150 592s ok 1079 /checksum/SHA256/reset/151 592s ok 1080 /checksum/SHA256/reset/152 592s ok 1081 /checksum/SHA256/reset/153 592s ok 1082 /checksum/SHA256/reset/154 592s ok 1083 /checksum/SHA256/reset/155 592s ok 1084 /checksum/SHA256/reset/156 592s ok 1085 /checksum/SHA256/reset/157 592s ok 1086 /checksum/SHA256/reset/158 592s ok 1087 /checksum/SHA256/reset/159 592s ok 1088 /checksum/SHA256/reset/160 592s ok 1089 /checksum/SHA256/reset/161 592s ok 1090 /checksum/SHA256/reset/162 592s ok 1091 /checksum/SHA256/reset/163 592s ok 1092 /checksum/SHA256/reset/164 592s ok 1093 /checksum/SHA256/reset/165 592s ok 1094 /checksum/SHA256/reset/166 592s ok 1095 /checksum/SHA256/reset/167 592s ok 1096 /checksum/SHA256/reset/168 592s ok 1097 /checksum/SHA256/reset/169 592s ok 1098 /checksum/SHA256/reset/170 592s ok 1099 /checksum/SHA256/reset/171 592s ok 1100 /checksum/SHA256/reset/172 592s ok 1101 /checksum/SHA256/reset/173 592s ok 1102 /checksum/SHA256/reset/174 592s ok 1103 /checksum/SHA256/reset/175 592s ok 1104 /checksum/SHA256/reset/176 592s ok 1105 /checksum/SHA256/reset/177 592s ok 1106 /checksum/SHA256/reset/178 592s ok 1107 /checksum/SHA256/reset/179 592s ok 1108 /checksum/SHA256/reset/180 592s ok 1109 /checksum/SHA256/reset/181 592s ok 1110 /checksum/SHA256/reset/182 592s ok 1111 /checksum/SHA256/reset/183 592s # End of reset tests 592s # End of SHA256 tests 592s # Start of SHA384 tests 592s ok 1112 /checksum/SHA384/0 592s ok 1113 /checksum/SHA384/1 592s ok 1114 /checksum/SHA384/2 592s ok 1115 /checksum/SHA384/3 592s ok 1116 /checksum/SHA384/4 592s ok 1117 /checksum/SHA384/5 592s ok 1118 /checksum/SHA384/6 592s ok 1119 /checksum/SHA384/7 592s ok 1120 /checksum/SHA384/8 592s ok 1121 /checksum/SHA384/9 592s ok 1122 /checksum/SHA384/10 592s ok 1123 /checksum/SHA384/11 592s ok 1124 /checksum/SHA384/12 592s ok 1125 /checksum/SHA384/13 592s ok 1126 /checksum/SHA384/14 592s ok 1127 /checksum/SHA384/15 592s ok 1128 /checksum/SHA384/16 592s ok 1129 /checksum/SHA384/17 592s ok 1130 /checksum/SHA384/18 592s ok 1131 /checksum/SHA384/19 592s ok 1132 /checksum/SHA384/20 592s ok 1133 /checksum/SHA384/21 592s ok 1134 /checksum/SHA384/22 592s ok 1135 /checksum/SHA384/23 592s ok 1136 /checksum/SHA384/24 592s ok 1137 /checksum/SHA384/25 592s ok 1138 /checksum/SHA384/26 592s ok 1139 /checksum/SHA384/27 592s ok 1140 /checksum/SHA384/28 592s ok 1141 /checksum/SHA384/29 592s ok 1142 /checksum/SHA384/30 592s ok 1143 /checksum/SHA384/31 592s ok 1144 /checksum/SHA384/32 592s ok 1145 /checksum/SHA384/33 592s ok 1146 /checksum/SHA384/34 592s ok 1147 /checksum/SHA384/35 592s ok 1148 /checksum/SHA384/36 592s ok 1149 /checksum/SHA384/37 592s ok 1150 /checksum/SHA384/38 592s ok 1151 /checksum/SHA384/39 592s ok 1152 /checksum/SHA384/40 592s ok 1153 /checksum/SHA384/41 592s ok 1154 /checksum/SHA384/42 592s ok 1155 /checksum/SHA384/43 592s ok 1156 /checksum/SHA384/44 592s ok 1157 /checksum/SHA384/45 592s ok 1158 /checksum/SHA384/46 592s ok 1159 /checksum/SHA384/47 592s ok 1160 /checksum/SHA384/48 592s ok 1161 /checksum/SHA384/49 592s ok 1162 /checksum/SHA384/50 592s ok 1163 /checksum/SHA384/51 592s ok 1164 /checksum/SHA384/52 592s ok 1165 /checksum/SHA384/53 592s ok 1166 /checksum/SHA384/54 592s ok 1167 /checksum/SHA384/55 592s ok 1168 /checksum/SHA384/56 592s ok 1169 /checksum/SHA384/57 592s ok 1170 /checksum/SHA384/58 592s ok 1171 /checksum/SHA384/59 592s ok 1172 /checksum/SHA384/60 592s ok 1173 /checksum/SHA384/61 592s ok 1174 /checksum/SHA384/62 592s ok 1175 /checksum/SHA384/63 592s ok 1176 /checksum/SHA384/64 592s ok 1177 /checksum/SHA384/65 592s ok 1178 /checksum/SHA384/66 592s ok 1179 /checksum/SHA384/67 592s ok 1180 /checksum/SHA384/68 592s ok 1181 /checksum/SHA384/69 592s ok 1182 /checksum/SHA384/70 592s ok 1183 /checksum/SHA384/71 592s ok 1184 /checksum/SHA384/72 592s ok 1185 /checksum/SHA384/73 592s ok 1186 /checksum/SHA384/74 592s ok 1187 /checksum/SHA384/75 592s ok 1188 /checksum/SHA384/76 592s ok 1189 /checksum/SHA384/77 592s ok 1190 /checksum/SHA384/78 592s ok 1191 /checksum/SHA384/79 592s ok 1192 /checksum/SHA384/80 592s ok 1193 /checksum/SHA384/81 592s ok 1194 /checksum/SHA384/82 592s ok 1195 /checksum/SHA384/83 592s ok 1196 /checksum/SHA384/84 592s ok 1197 /checksum/SHA384/85 592s ok 1198 /checksum/SHA384/86 592s ok 1199 /checksum/SHA384/87 592s ok 1200 /checksum/SHA384/88 592s ok 1201 /checksum/SHA384/89 592s ok 1202 /checksum/SHA384/90 592s ok 1203 /checksum/SHA384/91 592s ok 1204 /checksum/SHA384/92 592s ok 1205 /checksum/SHA384/93 592s ok 1206 /checksum/SHA384/94 592s ok 1207 /checksum/SHA384/95 592s ok 1208 /checksum/SHA384/96 592s ok 1209 /checksum/SHA384/97 592s ok 1210 /checksum/SHA384/98 592s ok 1211 /checksum/SHA384/99 592s ok 1212 /checksum/SHA384/100 592s ok 1213 /checksum/SHA384/101 592s ok 1214 /checksum/SHA384/102 592s ok 1215 /checksum/SHA384/103 592s ok 1216 /checksum/SHA384/104 592s ok 1217 /checksum/SHA384/105 592s ok 1218 /checksum/SHA384/106 592s ok 1219 /checksum/SHA384/107 592s ok 1220 /checksum/SHA384/108 592s ok 1221 /checksum/SHA384/109 592s ok 1222 /checksum/SHA384/110 592s ok 1223 /checksum/SHA384/111 592s ok 1224 /checksum/SHA384/112 592s ok 1225 /checksum/SHA384/113 592s ok 1226 /checksum/SHA384/114 592s ok 1227 /checksum/SHA384/115 592s ok 1228 /checksum/SHA384/116 592s ok 1229 /checksum/SHA384/117 592s ok 1230 /checksum/SHA384/118 592s ok 1231 /checksum/SHA384/119 592s ok 1232 /checksum/SHA384/120 592s ok 1233 /checksum/SHA384/121 592s ok 1234 /checksum/SHA384/122 592s ok 1235 /checksum/SHA384/123 592s ok 1236 /checksum/SHA384/124 592s ok 1237 /checksum/SHA384/125 592s ok 1238 /checksum/SHA384/126 592s ok 1239 /checksum/SHA384/127 592s ok 1240 /checksum/SHA384/128 592s ok 1241 /checksum/SHA384/129 592s ok 1242 /checksum/SHA384/130 592s ok 1243 /checksum/SHA384/131 592s ok 1244 /checksum/SHA384/132 592s ok 1245 /checksum/SHA384/133 592s ok 1246 /checksum/SHA384/134 592s ok 1247 /checksum/SHA384/135 592s ok 1248 /checksum/SHA384/136 592s ok 1249 /checksum/SHA384/137 592s ok 1250 /checksum/SHA384/138 592s ok 1251 /checksum/SHA384/139 592s ok 1252 /checksum/SHA384/140 592s ok 1253 /checksum/SHA384/141 592s ok 1254 /checksum/SHA384/142 592s ok 1255 /checksum/SHA384/143 592s ok 1256 /checksum/SHA384/144 592s ok 1257 /checksum/SHA384/145 592s ok 1258 /checksum/SHA384/146 592s ok 1259 /checksum/SHA384/147 592s ok 1260 /checksum/SHA384/148 592s ok 1261 /checksum/SHA384/149 592s ok 1262 /checksum/SHA384/150 592s ok 1263 /checksum/SHA384/151 592s ok 1264 /checksum/SHA384/152 592s ok 1265 /checksum/SHA384/153 592s ok 1266 /checksum/SHA384/154 592s ok 1267 /checksum/SHA384/155 592s ok 1268 /checksum/SHA384/156 592s ok 1269 /checksum/SHA384/157 592s ok 1270 /checksum/SHA384/158 592s ok 1271 /checksum/SHA384/159 592s ok 1272 /checksum/SHA384/160 592s ok 1273 /checksum/SHA384/161 592s ok 1274 /checksum/SHA384/162 592s ok 1275 /checksum/SHA384/163 592s ok 1276 /checksum/SHA384/164 592s ok 1277 /checksum/SHA384/165 592s ok 1278 /checksum/SHA384/166 592s ok 1279 /checksum/SHA384/167 592s ok 1280 /checksum/SHA384/168 592s ok 1281 /checksum/SHA384/169 592s ok 1282 /checksum/SHA384/170 592s ok 1283 /checksum/SHA384/171 592s ok 1284 /checksum/SHA384/172 592s ok 1285 /checksum/SHA384/173 592s ok 1286 /checksum/SHA384/174 592s ok 1287 /checksum/SHA384/175 592s ok 1288 /checksum/SHA384/176 592s ok 1289 /checksum/SHA384/177 592s ok 1290 /checksum/SHA384/178 592s ok 1291 /checksum/SHA384/179 592s ok 1292 /checksum/SHA384/180 592s ok 1293 /checksum/SHA384/181 592s ok 1294 /checksum/SHA384/182 592s ok 1295 /checksum/SHA384/183 592s ok 1296 /checksum/SHA384/string 592s ok 1297 /checksum/SHA384/bytes 592s # Start of reset tests 592s ok 1298 /checksum/SHA384/reset/0 592s ok 1299 /checksum/SHA384/reset/1 592s ok 1300 /checksum/SHA384/reset/2 592s ok 1301 /checksum/SHA384/reset/3 592s ok 1302 /checksum/SHA384/reset/4 592s ok 1303 /checksum/SHA384/reset/5 592s ok 1304 /checksum/SHA384/reset/6 592s ok 1305 /checksum/SHA384/reset/7 592s ok 1306 /checksum/SHA384/reset/8 592s ok 1307 /checksum/SHA384/reset/9 592s ok 1308 /checksum/SHA384/reset/10 592s ok 1309 /checksum/SHA384/reset/11 592s ok 1310 /checksum/SHA384/reset/12 592s ok 1311 /checksum/SHA384/reset/13 592s ok 1312 /checksum/SHA384/reset/14 592s ok 1313 /checksum/SHA384/reset/15 592s ok 1314 /checksum/SHA384/reset/16 592s ok 1315 /checksum/SHA384/reset/17 592s ok 1316 /checksum/SHA384/reset/18 592s ok 1317 /checksum/SHA384/reset/19 592s ok 1318 /checksum/SHA384/reset/20 592s ok 1319 /checksum/SHA384/reset/21 592s ok 1320 /checksum/SHA384/reset/22 592s ok 1321 /checksum/SHA384/reset/23 592s ok 1322 /checksum/SHA384/reset/24 592s ok 1323 /checksum/SHA384/reset/25 592s ok 1324 /checksum/SHA384/reset/26 592s ok 1325 /checksum/SHA384/reset/27 592s ok 1326 /checksum/SHA384/reset/28 592s ok 1327 /checksum/SHA384/reset/29 592s ok 1328 /checksum/SHA384/reset/30 592s ok 1329 /checksum/SHA384/reset/31 592s ok 1330 /checksum/SHA384/reset/32 592s ok 1331 /checksum/SHA384/reset/33 592s ok 1332 /checksum/SHA384/reset/34 592s ok 1333 /checksum/SHA384/reset/35 592s ok 1334 /checksum/SHA384/reset/36 592s ok 1335 /checksum/SHA384/reset/37 592s ok 1336 /checksum/SHA384/reset/38 592s ok 1337 /checksum/SHA384/reset/39 592s ok 1338 /checksum/SHA384/reset/40 592s ok 1339 /checksum/SHA384/reset/41 592s ok 1340 /checksum/SHA384/reset/42 592s ok 1341 /checksum/SHA384/reset/43 592s ok 1342 /checksum/SHA384/reset/44 592s ok 1343 /checksum/SHA384/reset/45 592s ok 1344 /checksum/SHA384/reset/46 592s ok 1345 /checksum/SHA384/reset/47 592s ok 1346 /checksum/SHA384/reset/48 592s ok 1347 /checksum/SHA384/reset/49 592s ok 1348 /checksum/SHA384/reset/50 592s ok 1349 /checksum/SHA384/reset/51 592s ok 1350 /checksum/SHA384/reset/52 592s ok 1351 /checksum/SHA384/reset/53 592s ok 1352 /checksum/SHA384/reset/54 592s ok 1353 /checksum/SHA384/reset/55 592s ok 1354 /checksum/SHA384/reset/56 592s ok 1355 /checksum/SHA384/reset/57 592s ok 1356 /checksum/SHA384/reset/58 592s ok 1357 /checksum/SHA384/reset/59 592s ok 1358 /checksum/SHA384/reset/60 592s ok 1359 /checksum/SHA384/reset/61 592s ok 1360 /checksum/SHA384/reset/62 592s ok 1361 /checksum/SHA384/reset/63 592s ok 1362 /checksum/SHA384/reset/64 592s ok 1363 /checksum/SHA384/reset/65 592s ok 1364 /checksum/SHA384/reset/66 592s ok 1365 /checksum/SHA384/reset/67 592s ok 1366 /checksum/SHA384/reset/68 592s ok 1367 /checksum/SHA384/reset/69 592s ok 1368 /checksum/SHA384/reset/70 592s ok 1369 /checksum/SHA384/reset/71 592s ok 1370 /checksum/SHA384/reset/72 592s ok 1371 /checksum/SHA384/reset/73 592s ok 1372 /checksum/SHA384/reset/74 592s ok 1373 /checksum/SHA384/reset/75 592s ok 1374 /checksum/SHA384/reset/76 592s ok 1375 /checksum/SHA384/reset/77 592s ok 1376 /checksum/SHA384/reset/78 592s ok 1377 /checksum/SHA384/reset/79 592s ok 1378 /checksum/SHA384/reset/80 592s ok 1379 /checksum/SHA384/reset/81 592s ok 1380 /checksum/SHA384/reset/82 592s ok 1381 /checksum/SHA384/reset/83 592s ok 1382 /checksum/SHA384/reset/84 592s ok 1383 /checksum/SHA384/reset/85 592s ok 1384 /checksum/SHA384/reset/86 592s ok 1385 /checksum/SHA384/reset/87 592s ok 1386 /checksum/SHA384/reset/88 592s ok 1387 /checksum/SHA384/reset/89 592s ok 1388 /checksum/SHA384/reset/90 592s ok 1389 /checksum/SHA384/reset/91 592s ok 1390 /checksum/SHA384/reset/92 592s ok 1391 /checksum/SHA384/reset/93 592s ok 1392 /checksum/SHA384/reset/94 592s ok 1393 /checksum/SHA384/reset/95 592s ok 1394 /checksum/SHA384/reset/96 592s ok 1395 /checksum/SHA384/reset/97 592s ok 1396 /checksum/SHA384/reset/98 592s ok 1397 /checksum/SHA384/reset/99 592s ok 1398 /checksum/SHA384/reset/100 592s ok 1399 /checksum/SHA384/reset/101 592s ok 1400 /checksum/SHA384/reset/102 592s ok 1401 /checksum/SHA384/reset/103 592s ok 1402 /checksum/SHA384/reset/104 592s ok 1403 /checksum/SHA384/reset/105 592s ok 1404 /checksum/SHA384/reset/106 592s ok 1405 /checksum/SHA384/reset/107 592s ok 1406 /checksum/SHA384/reset/108 592s ok 1407 /checksum/SHA384/reset/109 592s ok 1408 /checksum/SHA384/reset/110 592s ok 1409 /checksum/SHA384/reset/111 592s ok 1410 /checksum/SHA384/reset/112 592s ok 1411 /checksum/SHA384/reset/113 592s ok 1412 /checksum/SHA384/reset/114 592s ok 1413 /checksum/SHA384/reset/115 592s ok 1414 /checksum/SHA384/reset/116 592s ok 1415 /checksum/SHA384/reset/117 592s ok 1416 /checksum/SHA384/reset/118 592s ok 1417 /checksum/SHA384/reset/119 592s ok 1418 /checksum/SHA384/reset/120 592s ok 1419 /checksum/SHA384/reset/121 592s ok 1420 /checksum/SHA384/reset/122 592s ok 1421 /checksum/SHA384/reset/123 592s ok 1422 /checksum/SHA384/reset/124 592s ok 1423 /checksum/SHA384/reset/125 592s ok 1424 /checksum/SHA384/reset/126 592s ok 1425 /checksum/SHA384/reset/127 592s ok 1426 /checksum/SHA384/reset/128 592s ok 1427 /checksum/SHA384/reset/129 592s ok 1428 /checksum/SHA384/reset/130 592s ok 1429 /checksum/SHA384/reset/131 592s ok 1430 /checksum/SHA384/reset/132 592s ok 1431 /checksum/SHA384/reset/133 592s ok 1432 /checksum/SHA384/reset/134 592s ok 1433 /checksum/SHA384/reset/135 592s ok 1434 /checksum/SHA384/reset/136 592s ok 1435 /checksum/SHA384/reset/137 592s ok 1436 /checksum/SHA384/reset/138 592s ok 1437 /checksum/SHA384/reset/139 592s ok 1438 /checksum/SHA384/reset/140 592s ok 1439 /checksum/SHA384/reset/141 592s ok 1440 /checksum/SHA384/reset/142 592s ok 1441 /checksum/SHA384/reset/143 592s ok 1442 /checksum/SHA384/reset/144 592s ok 1443 /checksum/SHA384/reset/145 592s ok 1444 /checksum/SHA384/reset/146 592s ok 1445 /checksum/SHA384/reset/147 592s ok 1446 /checksum/SHA384/reset/148 592s ok 1447 /checksum/SHA384/reset/149 592s ok 1448 /checksum/SHA384/reset/150 592s ok 1449 /checksum/SHA384/reset/151 592s ok 1450 /checksum/SHA384/reset/152 592s ok 1451 /checksum/SHA384/reset/153 592s ok 1452 /checksum/SHA384/reset/154 592s ok 1453 /checksum/SHA384/reset/155 592s ok 1454 /checksum/SHA384/reset/156 592s ok 1455 /checksum/SHA384/reset/157 592s ok 1456 /checksum/SHA384/reset/158 592s ok 1457 /checksum/SHA384/reset/159 592s ok 1458 /checksum/SHA384/reset/160 592s ok 1459 /checksum/SHA384/reset/161 592s ok 1460 /checksum/SHA384/reset/162 592s ok 1461 /checksum/SHA384/reset/163 592s ok 1462 /checksum/SHA384/reset/164 592s ok 1463 /checksum/SHA384/reset/165 592s ok 1464 /checksum/SHA384/reset/166 592s ok 1465 /checksum/SHA384/reset/167 592s ok 1466 /checksum/SHA384/reset/168 592s ok 1467 /checksum/SHA384/reset/169 592s ok 1468 /checksum/SHA384/reset/170 592s ok 1469 /checksum/SHA384/reset/171 592s ok 1470 /checksum/SHA384/reset/172 592s ok 1471 /checksum/SHA384/reset/173 592s ok 1472 /checksum/SHA384/reset/174 592s ok 1473 /checksum/SHA384/reset/175 592s ok 1474 /checksum/SHA384/reset/176 592s ok 1475 /checksum/SHA384/reset/177 592s ok 1476 /checksum/SHA384/reset/178 592s ok 1477 /checksum/SHA384/reset/179 592s ok 1478 /checksum/SHA384/reset/180 592s ok 1479 /checksum/SHA384/reset/181 592s ok 1480 /checksum/SHA384/reset/182 592s ok 1481 /checksum/SHA384/reset/183 592s # End of reset tests 592s # End of SHA384 tests 592s # Start of SHA512 tests 592s ok 1482 /checksum/SHA512/0 592s ok 1483 /checksum/SHA512/1 592s ok 1484 /checksum/SHA512/2 592s ok 1485 /checksum/SHA512/3 592s ok 1486 /checksum/SHA512/4 592s ok 1487 /checksum/SHA512/5 592s ok 1488 /checksum/SHA512/6 592s ok 1489 /checksum/SHA512/7 592s ok 1490 /checksum/SHA512/8 592s ok 1491 /checksum/SHA512/9 592s ok 1492 /checksum/SHA512/10 592s ok 1493 /checksum/SHA512/11 592s ok 1494 /checksum/SHA512/12 592s ok 1495 /checksum/SHA512/13 592s ok 1496 /checksum/SHA512/14 592s ok 1497 /checksum/SHA512/15 592s ok 1498 /checksum/SHA512/16 592s ok 1499 /checksum/SHA512/17 592s ok 1500 /checksum/SHA512/18 592s ok 1501 /checksum/SHA512/19 592s ok 1502 /checksum/SHA512/20 592s ok 1503 /checksum/SHA512/21 592s ok 1504 /checksum/SHA512/22 592s ok 1505 /checksum/SHA512/23 592s ok 1506 /checksum/SHA512/24 592s ok 1507 /checksum/SHA512/25 592s ok 1508 /checksum/SHA512/26 592s ok 1509 /checksum/SHA512/27 592s ok 1510 /checksum/SHA512/28 592s ok 1511 /checksum/SHA512/29 592s ok 1512 /checksum/SHA512/30 592s ok 1513 /checksum/SHA512/31 592s ok 1514 /checksum/SHA512/32 592s ok 1515 /checksum/SHA512/33 592s ok 1516 /checksum/SHA512/34 592s ok 1517 /checksum/SHA512/35 592s ok 1518 /checksum/SHA512/36 592s ok 1519 /checksum/SHA512/37 592s ok 1520 /checksum/SHA512/38 592s ok 1521 /checksum/SHA512/39 592s ok 1522 /checksum/SHA512/40 592s ok 1523 /checksum/SHA512/41 592s ok 1524 /checksum/SHA512/42 592s ok 1525 /checksum/SHA512/43 592s ok 1526 /checksum/SHA512/44 592s ok 1527 /checksum/SHA512/45 592s ok 1528 /checksum/SHA512/46 592s ok 1529 /checksum/SHA512/47 592s ok 1530 /checksum/SHA512/48 592s ok 1531 /checksum/SHA512/49 592s ok 1532 /checksum/SHA512/50 592s ok 1533 /checksum/SHA512/51 592s ok 1534 /checksum/SHA512/52 592s ok 1535 /checksum/SHA512/53 592s ok 1536 /checksum/SHA512/54 592s ok 1537 /checksum/SHA512/55 592s ok 1538 /checksum/SHA512/56 592s ok 1539 /checksum/SHA512/57 592s ok 1540 /checksum/SHA512/58 592s ok 1541 /checksum/SHA512/59 592s ok 1542 /checksum/SHA512/60 592s ok 1543 /checksum/SHA512/61 592s ok 1544 /checksum/SHA512/62 592s ok 1545 /checksum/SHA512/63 592s ok 1546 /checksum/SHA512/64 592s ok 1547 /checksum/SHA512/65 592s ok 1548 /checksum/SHA512/66 592s ok 1549 /checksum/SHA512/67 592s ok 1550 /checksum/SHA512/68 592s ok 1551 /checksum/SHA512/69 592s ok 1552 /checksum/SHA512/70 592s ok 1553 /checksum/SHA512/71 592s ok 1554 /checksum/SHA512/72 592s ok 1555 /checksum/SHA512/73 592s ok 1556 /checksum/SHA512/74 592s ok 1557 /checksum/SHA512/75 592s ok 1558 /checksum/SHA512/76 592s ok 1559 /checksum/SHA512/77 592s ok 1560 /checksum/SHA512/78 592s ok 1561 /checksum/SHA512/79 592s ok 1562 /checksum/SHA512/80 592s ok 1563 /checksum/SHA512/81 592s ok 1564 /checksum/SHA512/82 592s ok 1565 /checksum/SHA512/83 592s ok 1566 /checksum/SHA512/84 592s ok 1567 /checksum/SHA512/85 592s ok 1568 /checksum/SHA512/86 592s ok 1569 /checksum/SHA512/87 592s ok 1570 /checksum/SHA512/88 592s ok 1571 /checksum/SHA512/89 592s ok 1572 /checksum/SHA512/90 592s ok 1573 /checksum/SHA512/91 592s ok 1574 /checksum/SHA512/92 592s ok 1575 /checksum/SHA512/93 592s ok 1576 /checksum/SHA512/94 592s ok 1577 /checksum/SHA512/95 592s ok 1578 /checksum/SHA512/96 592s ok 1579 /checksum/SHA512/97 592s ok 1580 /checksum/SHA512/98 592s ok 1581 /checksum/SHA512/99 592s ok 1582 /checksum/SHA512/100 592s ok 1583 /checksum/SHA512/101 592s ok 1584 /checksum/SHA512/102 592s ok 1585 /checksum/SHA512/103 592s ok 1586 /checksum/SHA512/104 592s ok 1587 /checksum/SHA512/105 592s ok 1588 /checksum/SHA512/106 592s ok 1589 /checksum/SHA512/107 592s ok 1590 /checksum/SHA512/108 592s ok 1591 /checksum/SHA512/109 592s ok 1592 /checksum/SHA512/110 592s ok 1593 /checksum/SHA512/111 592s ok 1594 /checksum/SHA512/112 592s ok 1595 /checksum/SHA512/113 592s ok 1596 /checksum/SHA512/114 592s ok 1597 /checksum/SHA512/115 592s ok 1598 /checksum/SHA512/116 592s ok 1599 /checksum/SHA512/117 592s ok 1600 /checksum/SHA512/118 592s ok 1601 /checksum/SHA512/119 592s ok 1602 /checksum/SHA512/120 592s ok 1603 /checksum/SHA512/121 592s ok 1604 /checksum/SHA512/122 592s ok 1605 /checksum/SHA512/123 592s ok 1606 /checksum/SHA512/124 592s ok 1607 /checksum/SHA512/125 592s ok 1608 /checksum/SHA512/126 592s ok 1609 /checksum/SHA512/127 592s ok 1610 /checksum/SHA512/128 592s ok 1611 /checksum/SHA512/129 592s ok 1612 /checksum/SHA512/130 592s ok 1613 /checksum/SHA512/131 592s ok 1614 /checksum/SHA512/132 592s ok 1615 /checksum/SHA512/133 592s ok 1616 /checksum/SHA512/134 592s ok 1617 /checksum/SHA512/135 592s ok 1618 /checksum/SHA512/136 592s ok 1619 /checksum/SHA512/137 592s ok 1620 /checksum/SHA512/138 592s ok 1621 /checksum/SHA512/139 592s ok 1622 /checksum/SHA512/140 592s ok 1623 /checksum/SHA512/141 592s ok 1624 /checksum/SHA512/142 592s ok 1625 /checksum/SHA512/143 592s ok 1626 /checksum/SHA512/144 592s ok 1627 /checksum/SHA512/145 592s ok 1628 /checksum/SHA512/146 592s ok 1629 /checksum/SHA512/147 592s ok 1630 /checksum/SHA512/148 592s ok 1631 /checksum/SHA512/149 592s ok 1632 /checksum/SHA512/150 592s ok 1633 /checksum/SHA512/151 592s ok 1634 /checksum/SHA512/152 592s ok 1635 /checksum/SHA512/153 592s ok 1636 /checksum/SHA512/154 592s ok 1637 /checksum/SHA512/155 592s ok 1638 /checksum/SHA512/156 592s ok 1639 /checksum/SHA512/157 592s ok 1640 /checksum/SHA512/158 592s ok 1641 /checksum/SHA512/159 592s ok 1642 /checksum/SHA512/160 592s ok 1643 /checksum/SHA512/161 592s ok 1644 /checksum/SHA512/162 592s ok 1645 /checksum/SHA512/163 592s ok 1646 /checksum/SHA512/164 592s ok 1647 /checksum/SHA512/165 592s ok 1648 /checksum/SHA512/166 592s ok 1649 /checksum/SHA512/167 592s ok 1650 /checksum/SHA512/168 592s ok 1651 /checksum/SHA512/169 592s ok 1652 /checksum/SHA512/170 592s ok 1653 /checksum/SHA512/171 592s ok 1654 /checksum/SHA512/172 592s ok 1655 /checksum/SHA512/173 592s ok 1656 /checksum/SHA512/174 592s ok 1657 /checksum/SHA512/175 592s ok 1658 /checksum/SHA512/176 592s ok 1659 /checksum/SHA512/177 592s ok 1660 /checksum/SHA512/178 592s ok 1661 /checksum/SHA512/179 592s ok 1662 /checksum/SHA512/180 592s ok 1663 /checksum/SHA512/181 592s ok 1664 /checksum/SHA512/182 592s ok 1665 /checksum/SHA512/183 592s ok 1666 /checksum/SHA512/string 592s ok 1667 /checksum/SHA512/bytes 592s # Start of reset tests 592s ok 1668 /checksum/SHA512/reset/0 592s ok 1669 /checksum/SHA512/reset/1 592s ok 1670 /checksum/SHA512/reset/2 592s ok 1671 /checksum/SHA512/reset/3 592s ok 1672 /checksum/SHA512/reset/4 592s ok 1673 /checksum/SHA512/reset/5 592s ok 1674 /checksum/SHA512/reset/6 592s ok 1675 /checksum/SHA512/reset/7 592s ok 1676 /checksum/SHA512/reset/8 592s ok 1677 /checksum/SHA512/reset/9 592s ok 1678 /checksum/SHA512/reset/10 592s ok 1679 /checksum/SHA512/reset/11 592s ok 1680 /checksum/SHA512/reset/12 592s ok 1681 /checksum/SHA512/reset/13 592s ok 1682 /checksum/SHA512/reset/14 592s ok 1683 /checksum/SHA512/reset/15 592s ok 1684 /checksum/SHA512/reset/16 592s ok 1685 /checksum/SHA512/reset/17 592s ok 1686 /checksum/SHA512/reset/18 592s ok 1687 /checksum/SHA512/reset/19 592s ok 1688 /checksum/SHA512/reset/20 592s ok 1689 /checksum/SHA512/reset/21 592s ok 1690 /checksum/SHA512/reset/22 592s ok 1691 /checksum/SHA512/reset/23 592s ok 1692 /checksum/SHA512/reset/24 592s ok 1693 /checksum/SHA512/reset/25 592s ok 1694 /checksum/SHA512/reset/26 592s ok 1695 /checksum/SHA512/reset/27 592s ok 1696 /checksum/SHA512/reset/28 592s ok 1697 /checksum/SHA512/reset/29 592s ok 1698 /checksum/SHA512/reset/30 592s ok 1699 /checksum/SHA512/reset/31 592s ok 1700 /checksum/SHA512/reset/32 592s ok 1701 /checksum/SHA512/reset/33 592s ok 1702 /checksum/SHA512/reset/34 592s ok 1703 /checksum/SHA512/reset/35 592s ok 1704 /checksum/SHA512/reset/36 592s ok 1705 /checksum/SHA512/reset/37 592s ok 1706 /checksum/SHA512/reset/38 592s ok 1707 /checksum/SHA512/reset/39 592s ok 1708 /checksum/SHA512/reset/40 592s ok 1709 /checksum/SHA512/reset/41 592s ok 1710 /checksum/SHA512/reset/42 592s ok 1711 /checksum/SHA512/reset/43 592s ok 1712 /checksum/SHA512/reset/44 592s ok 1713 /checksum/SHA512/reset/45 592s ok 1714 /checksum/SHA512/reset/46 592s ok 1715 /checksum/SHA512/reset/47 592s ok 1716 /checksum/SHA512/reset/48 592s ok 1717 /checksum/SHA512/reset/49 592s ok 1718 /checksum/SHA512/reset/50 592s ok 1719 /checksum/SHA512/reset/51 592s ok 1720 /checksum/SHA512/reset/52 592s ok 1721 /checksum/SHA512/reset/53 592s ok 1722 /checksum/SHA512/reset/54 592s ok 1723 /checksum/SHA512/reset/55 592s ok 1724 /checksum/SHA512/reset/56 592s ok 1725 /checksum/SHA512/reset/57 592s ok 1726 /checksum/SHA512/reset/58 592s ok 1727 /checksum/SHA512/reset/59 592s ok 1728 /checksum/SHA512/reset/60 592s ok 1729 /checksum/SHA512/reset/61 592s ok 1730 /checksum/SHA512/reset/62 592s ok 1731 /checksum/SHA512/reset/63 592s ok 1732 /checksum/SHA512/reset/64 592s ok 1733 /checksum/SHA512/reset/65 592s ok 1734 /checksum/SHA512/reset/66 592s ok 1735 /checksum/SHA512/reset/67 592s ok 1736 /checksum/SHA512/reset/68 592s ok 1737 /checksum/SHA512/reset/69 592s ok 1738 /checksum/SHA512/reset/70 592s ok 1739 /checksum/SHA512/reset/71 592s ok 1740 /checksum/SHA512/reset/72 592s ok 1741 /checksum/SHA512/reset/73 592s ok 1742 /checksum/SHA512/reset/74 592s ok 1743 /checksum/SHA512/reset/75 592s ok 1744 /checksum/SHA512/reset/76 592s ok 1745 /checksum/SHA512/reset/77 592s ok 1746 /checksum/SHA512/reset/78 592s ok 1747 /checksum/SHA512/reset/79 592s ok 1748 /checksum/SHA512/reset/80 592s ok 1749 /checksum/SHA512/reset/81 592s ok 1750 /checksum/SHA512/reset/82 592s ok 1751 /checksum/SHA512/reset/83 592s ok 1752 /checksum/SHA512/reset/84 592s ok 1753 /checksum/SHA512/reset/85 592s ok 1754 /checksum/SHA512/reset/86 592s ok 1755 /checksum/SHA512/reset/87 592s ok 1756 /checksum/SHA512/reset/88 592s ok 1757 /checksum/SHA512/reset/89 592s ok 1758 /checksum/SHA512/reset/90 592s ok 1759 /checksum/SHA512/reset/91 592s ok 1760 /checksum/SHA512/reset/92 592s ok 1761 /checksum/SHA512/reset/93 592s ok 1762 /checksum/SHA512/reset/94 592s ok 1763 /checksum/SHA512/reset/95 592s ok 1764 /checksum/SHA512/reset/96 592s ok 1765 /checksum/SHA512/reset/97 592s ok 1766 /checksum/SHA512/reset/98 592s ok 1767 /checksum/SHA512/reset/99 592s ok 1768 /checksum/SHA512/reset/100 592s ok 1769 /checksum/SHA512/reset/101 592s ok 1770 /checksum/SHA512/reset/102 592s ok 1771 /checksum/SHA512/reset/103 592s ok 1772 /checksum/SHA512/reset/104 592s ok 1773 /checksum/SHA512/reset/105 592s ok 1774 /checksum/SHA512/reset/106 592s ok 1775 /checksum/SHA512/reset/107 592s ok 1776 /checksum/SHA512/reset/108 592s ok 1777 /checksum/SHA512/reset/109 592s ok 1778 /checksum/SHA512/reset/110 592s ok 1779 /checksum/SHA512/reset/111 592s ok 1780 /checksum/SHA512/reset/112 592s ok 1781 /checksum/SHA512/reset/113 592s ok 1782 /checksum/SHA512/reset/114 592s ok 1783 /checksum/SHA512/reset/115 592s ok 1784 /checksum/SHA512/reset/116 592s ok 1785 /checksum/SHA512/reset/117 592s ok 1786 /checksum/SHA512/reset/118 592s ok 1787 /checksum/SHA512/reset/119 592s ok 1788 /checksum/SHA512/reset/120 592s ok 1789 /checksum/SHA512/reset/121 592s ok 1790 /checksum/SHA512/reset/122 592s ok 1791 /checksum/SHA512/reset/123 592s ok 1792 /checksum/SHA512/reset/124 592s ok 1793 /checksum/SHA512/reset/125 592s ok 1794 /checksum/SHA512/reset/126 592s ok 1795 /checksum/SHA512/reset/127 592s ok 1796 /checksum/SHA512/reset/128 592s ok 1797 /checksum/SHA512/reset/129 592s ok 1798 /checksum/SHA512/reset/130 592s ok 1799 /checksum/SHA512/reset/131 592s ok 1800 /checksum/SHA512/reset/132 592s ok 1801 /checksum/SHA512/reset/133 592s ok 1802 /checksum/SHA512/reset/134 592s ok 1803 /checksum/SHA512/reset/135 592s ok 1804 /checksum/SHA512/reset/136 592s ok 1805 /checksum/SHA512/reset/137 592s ok 1806 /checksum/SHA512/reset/138 592s ok 1807 /checksum/SHA512/reset/139 592s ok 1808 /checksum/SHA512/reset/140 592s ok 1809 /checksum/SHA512/reset/141 592s ok 1810 /checksum/SHA512/reset/142 592s ok 1811 /checksum/SHA512/reset/143 592s ok 1812 /checksum/SHA512/reset/144 592s ok 1813 /checksum/SHA512/reset/145 592s ok 1814 /checksum/SHA512/reset/146 592s ok 1815 /checksum/SHA512/reset/147 592s ok 1816 /checksum/SHA512/reset/148 592s ok 1817 /checksum/SHA512/reset/149 592s ok 1818 /checksum/SHA512/reset/150 592s ok 1819 /checksum/SHA512/reset/151 592s ok 1820 /checksum/SHA512/reset/152 592s ok 1821 /checksum/SHA512/reset/153 592s ok 1822 /checksum/SHA512/reset/154 592s ok 1823 /checksum/SHA512/reset/155 592s ok 1824 /checksum/SHA512/reset/156 592s ok 1825 /checksum/SHA512/reset/157 592s ok 1826 /checksum/SHA512/reset/158 592s ok 1827 /checksum/SHA512/reset/159 592s ok 1828 /checksum/SHA512/reset/160 592s ok 1829 /checksum/SHA512/reset/161 592s ok 1830 /checksum/SHA512/reset/162 592s ok 1831 /checksum/SHA512/reset/163 592s ok 1832 /checksum/SHA512/reset/164 592s ok 1833 /checksum/SHA512/reset/165 592s ok 1834 /checksum/SHA512/reset/166 592s ok 1835 /checksum/SHA512/reset/167 592s ok 1836 /checksum/SHA512/reset/168 592s ok 1837 /checksum/SHA512/reset/169 592s ok 1838 /checksum/SHA512/reset/170 592s ok 1839 /checksum/SHA512/reset/171 592s ok 1840 /checksum/SHA512/reset/172 592s ok 1841 /checksum/SHA512/reset/173 592s ok 1842 /checksum/SHA512/reset/174 592s ok 1843 /checksum/SHA512/reset/175 592s ok 1844 /checksum/SHA512/reset/176 592s ok 1845 /checksum/SHA512/reset/177 592s ok 1846 /checksum/SHA512/reset/178 592s ok 1847 /checksum/SHA512/reset/179 592s ok 1848 /checksum/SHA512/reset/180 592s ok 1849 /checksum/SHA512/reset/181 592s ok 1850 /checksum/SHA512/reset/182 592s ok 1851 /checksum/SHA512/reset/183 592s # End of reset tests 592s # End of SHA512 tests 592s # End of checksum tests 592s ok - glib/checksum.test 592s # Running test: glib/option-context.test 592s TAP version 13 592s # random seed: R02S6d5b08083ce92bed0fa90d3e23ce19e3 592s 1..57 592s # Start of option tests 592s ok 1 /option/basic 592s ok 2 /option/translate 592s ok 3 /option/strict-posix 592s # Start of help tests 592s ok 4 /option/help/options 592s ok 5 /option/help/no-options 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 592s ok 6 /option/help/no-help-options 592s # End of help tests 592s # Start of group tests 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 592s ok 7 /option/group/captions 592s ok 8 /option/group/main 592s ok 9 /option/group/error-hook 592s ok 10 /option/group/parse 592s # Start of captions tests 592s # Start of subprocess tests 592s # End of subprocess tests 592s # End of captions tests 592s # End of group tests 592s # Start of restoration tests 592s ok 11 /option/restoration/int 592s ok 12 /option/restoration/string 592s ok 13 /option/restoration/boolean 592s # End of restoration tests 592s # Start of arg tests 592s ok 14 /option/arg/reverse-string 592s ok 15 /option/arg/optional-int 592s # Start of repetition tests 592s ok 16 /option/arg/repetition/int 592s ok 17 /option/arg/repetition/string 592s ok 18 /option/arg/repetition/filename 592s ok 19 /option/arg/repetition/double 592s ok 20 /option/arg/repetition/locale 592s ok 21 /option/arg/repetition/int64 592s # End of repetition tests 592s # Start of array tests 592s ok 22 /option/arg/array/string 592s # End of array tests 592s # Start of callback tests 592s ok 23 /option/arg/callback/string 592s ok 24 /option/arg/callback/count 592s ok 25 /option/arg/callback/optional1 592s ok 26 /option/arg/callback/optional2 592s ok 27 /option/arg/callback/optional3 592s ok 28 /option/arg/callback/optional4 592s ok 29 /option/arg/callback/optional5 592s ok 30 /option/arg/callback/optional6 592s ok 31 /option/arg/callback/optional7 592s ok 32 /option/arg/callback/optional8 592s # End of callback tests 592s # Start of remaining tests 592s ok 33 /option/arg/remaining/callback 592s ok 34 /option/arg/remaining/callback-false 592s ok 35 /option/arg/remaining/non-option 592s ok 36 /option/arg/remaining/separator 592s ok 37 /option/arg/remaining/array 592s # End of remaining tests 592s # Start of ignore tests 592s ok 38 /option/arg/ignore/long 592s ok 39 /option/arg/ignore/short 592s ok 40 /option/arg/ignore/arg 592s # End of ignore tests 592s # Start of rest tests 592s ok 41 /option/arg/rest/non-option 592s ok 42 /option/arg/rest/separator1 592s ok 43 /option/arg/rest/separator2 592s ok 44 /option/arg/rest/separator3 592s ok 45 /option/arg/rest/separator4 592s ok 46 /option/arg/rest/separator5 592s # End of rest tests 592s # End of arg tests 592s # Start of context tests 592s ok 47 /option/context/add 592s ok 48 /option/context/empty2 592s ok 49 /option/context/empty3 592s # End of context tests 592s # Start of bug tests 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 592s ok 50 /option/bug/unknown-short 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 592s ok 51 /option/bug/lonely-dash 592s ok 52 /option/bug/triple-dash 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 592s ok 53 /option/bug/missing-arg 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 592s ok 54 /option/bug/dash-arg 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 592s ok 55 /option/bug/short-remaining 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 592s ok 56 /option/bug/double-free 592s ok 57 /option/bug/double-zero 592s # End of bug tests 592s # End of option tests 592s ok - glib/option-context.test 592s # Running test: glib/flags.test 592s TAP version 13 592s # random seed: R02S26e26c40145d16caf8a1e098c0355b53 592s 1..1 592s # Start of gobject tests 592s # Start of flags tests 592s ok 1 /gobject/flags/validate 592s # End of flags tests 592s # End of gobject tests 592s ok - glib/flags.test 592s # Running test: glib/utf8-performance.test 592s TAP version 13 592s # random seed: R02Sf27990d5c5d7fb2504091287fb6980b8 592s 1..36 592s # Start of utf8 tests 592s # Start of perf tests 592s # Start of get_char tests 592s # max perf: 43.0 MB/s 592s ok 1 /utf8/perf/get_char/ascii 592s # max perf: 67.0 MB/s 592s ok 2 /utf8/perf/get_char/latin1 592s # max perf: inf MB/s 592s ok 3 /utf8/perf/get_char/cyrillic 592s # max perf: 156.0 MB/s 592s ok 4 /utf8/perf/get_char/han 592s # End of get_char tests 592s # Start of get_char-backwards tests 592s # max perf: 43.0 MB/s 592s ok 5 /utf8/perf/get_char-backwards/ascii 592s # max perf: inf MB/s 592s ok 6 /utf8/perf/get_char-backwards/latin1 592s # max perf: inf MB/s 592s ok 7 /utf8/perf/get_char-backwards/cyrillic 592s # max perf: inf MB/s 592s ok 8 /utf8/perf/get_char-backwards/han 592s # End of get_char-backwards tests 592s # Start of get_char_validated tests 592s # max perf: 43.0 MB/s 592s ok 9 /utf8/perf/get_char_validated/ascii 592s # max perf: inf MB/s 592s ok 10 /utf8/perf/get_char_validated/latin1 592s # max perf: 160.0 MB/s 592s ok 11 /utf8/perf/get_char_validated/cyrillic 592s # max perf: 156.0 MB/s 592s ok 12 /utf8/perf/get_char_validated/han 592s # End of get_char_validated tests 592s # Start of utf8_to_ucs4 tests 592s # max perf: 43.0 MB/s 592s ok 13 /utf8/perf/utf8_to_ucs4/ascii 592s # max perf: 67.0 MB/s 592s ok 14 /utf8/perf/utf8_to_ucs4/latin1 592s # max perf: 160.0 MB/s 592s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 592s # max perf: 156.0 MB/s 592s ok 16 /utf8/perf/utf8_to_ucs4/han 592s # End of utf8_to_ucs4 tests 592s # Start of utf8_to_ucs4-sized tests 592s # max perf: 43.0 MB/s 592s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 592s # max perf: 67.0 MB/s 592s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 592s # max perf: 160.0 MB/s 592s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 592s # max perf: inf MB/s 592s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 592s # End of utf8_to_ucs4-sized tests 592s # Start of utf8_to_ucs4_fast tests 592s # max perf: 43.0 MB/s 592s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 592s # max perf: 67.0 MB/s 592s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 592s # max perf: 160.0 MB/s 592s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 592s # max perf: 156.0 MB/s 592s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 592s # End of utf8_to_ucs4_fast tests 592s # Start of utf8_to_ucs4_fast-sized tests 592s # max perf: 43.0 MB/s 592s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 592s # max perf: inf MB/s 592s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 592s # max perf: inf MB/s 592s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 592s # max perf: inf MB/s 592s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 592s # End of utf8_to_ucs4_fast-sized tests 592s # Start of utf8_validate tests 592s # max perf: inf MB/s 592s ok 29 /utf8/perf/utf8_validate/ascii 592s # max perf: inf MB/s 592s ok 30 /utf8/perf/utf8_validate/latin1 592s # max perf: inf MB/s 592s ok 31 /utf8/perf/utf8_validate/cyrillic 592s # max perf: inf MB/s 592s ok 32 /utf8/perf/utf8_validate/han 592s # End of utf8_validate tests 592s # Start of utf8_validate-sized tests 592s # max perf: 43.0 MB/s 592s ok 33 /utf8/perf/utf8_validate-sized/ascii 592s # max perf: inf MB/s 592s ok 34 /utf8/perf/utf8_validate-sized/latin1 592s # max perf: 160.0 MB/s 592s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 592s # max perf: 156.0 MB/s 592s ok 36 /utf8/perf/utf8_validate-sized/han 592s # End of utf8_validate-sized tests 592s # End of perf tests 592s # End of utf8 tests 592s ok - glib/utf8-performance.test 592s # Running test: glib/test-printf.test 592s TAP version 13 592s # random seed: R02S07e5661d898bbbee7470b0a6eda87754 592s 1..22 592s # Start of snprintf tests 592s ok 1 /snprintf/retval-and-trunc 592s ok 2 /snprintf/%d 592s ok 3 /snprintf/%d-invalid 592s ok 4 /snprintf/%o 592s ok 5 /snprintf/%u 592s ok 6 /snprintf/%x 592s ok 7 /snprintf/%X 592s ok 8 /snprintf/%f 592s ok 9 /snprintf/%e 592s ok 10 /snprintf/%c 592s ok 11 /snprintf/%s 592s ok 12 /snprintf/%n 592s ok 13 /snprintf/test-percent 592s ok 14 /snprintf/test-positional-params 592s ok 15 /snprintf/test-64bit 592s # End of snprintf tests 592s # Start of printf tests 592s ok 16 /printf/test-percent 592s ok 17 /printf/test-positional-params 592s ok 18 /printf/test-64bit 592s # Start of test-64bit tests 592s # Start of subprocess tests 592s # End of subprocess tests 592s # End of test-64bit tests 592s # End of printf tests 592s # Start of sprintf tests 592s ok 19 /sprintf/test-positional-params 592s ok 20 /sprintf/upper-bound 592s # End of sprintf tests 592s # Start of vasprintf tests 592s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 592s ok 21 /vasprintf/invalid-format-placeholder 592s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 592s ok 22 /vasprintf/invalid-wide-string 592s # End of vasprintf tests 592s ok - glib/test-printf.test 592s # Running test: glib/resources.test 592s TAP version 13 592s # random seed: R02S497d3b91775009fe8fcc3b1f2dd9a359 592s 1..17 592s # Start of resource tests 592s ok 1 /resource/file 592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 592s ok 2 /resource/file-path 592s ok 3 /resource/data 592s ok 4 /resource/data_unaligned 592s ok 5 /resource/data-corrupt 592s ok 6 /resource/data-empty 592s ok 7 /resource/registered 592s ok 8 /resource/manual 592s ok 9 /resource/manual2 592s ok 10 /resource/automatic 592s ok 11 /resource/module 592s ok 12 /resource/binary-linked 592s ok 13 /resource/64k 592s GLib-GIO-Message: 18:27:40.922: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 592s ok 14 /resource/overlay 592s ok 15 /resource/digits 592s # Start of uri tests 592s ok 16 /resource/uri/query-info 592s ok 17 /resource/uri/file 592s # End of uri tests 592s # End of resource tests 592s ok - glib/resources.test 592s # Running test: glib/inet-address.test 592s TAP version 13 592s # random seed: R02S30fd56c7a54c2f1b1287dc1278ee916c 592s 1..11 592s # Start of inet-address tests 592s ok 1 /inet-address/parse 592s ok 2 /inet-address/any 592s ok 3 /inet-address/loopback 592s ok 4 /inet-address/bytes 592s ok 5 /inet-address/property 592s # End of inet-address tests 592s # Start of socket-address tests 592s ok 6 /socket-address/basic 592s ok 7 /socket-address/to-string 592s # End of socket-address tests 592s # Start of address-mask tests 592s ok 8 /address-mask/parse 592s ok 9 /address-mask/property 592s ok 10 /address-mask/equal 592s ok 11 /address-mask/match 592s # End of address-mask tests 592s ok - glib/inet-address.test 592s # Running test: glib/macros.test 592s TAP version 13 592s # random seed: R02S38afa1e8ff3ce442536bc8e18b09ecaa 592s 1..3 592s # Start of alignof tests 592s ok 1 /alignof/fallback 592s # End of alignof tests 592s # Start of assert tests 592s ok 2 /assert/static 592s # End of assert tests 592s # Start of struct tests 592s ok 3 /struct/sizeof_member 592s # End of struct tests 592s ok - glib/macros.test 592s # Running test: glib/cxx-98.test 593s TAP version 13 593s # random seed: R02Sd1ed8c967c13210670df49c8fd598f8d 593s 1..2 593s # Start of gtask tests 593s # 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. 593s ok 1 /gtask/name 593s # Start of name tests 593s # 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. 593s ok 2 /gtask/name/macro-wrapper 593s # End of name tests 593s # End of gtask tests 593s ok - glib/cxx-98.test 593s # Running test: glib/tls-interaction.test 593s TAP version 13 593s # random seed: R02S4d1001a654ef524568851f8070f6e94c 593s 1..42 593s # Start of tls-interaction tests 593s # Start of ask-password tests 593s # Start of invoke-with-loop tests 593s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 593s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 593s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 593s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 593s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 593s # End of invoke-with-loop tests 593s # Start of invoke-without-loop tests 593s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 593s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 593s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 593s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 593s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 593s # End of invoke-without-loop tests 593s # Start of invoke-in-loop tests 593s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 593s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 593s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 593s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 593s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 593s # End of invoke-in-loop tests 593s # Start of sync tests 593s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 593s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 593s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 593s # End of sync tests 593s # Start of async tests 593s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 593s ok 20 /tls-interaction/ask-password/async/async-implementation-success 593s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 593s # End of async tests 593s # End of ask-password tests 593s # Start of request-certificate tests 593s # Start of invoke-with-loop tests 593s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 593s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 593s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 593s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 593s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 593s # End of invoke-with-loop tests 593s # Start of invoke-without-loop tests 593s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 593s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 593s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 593s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 593s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 593s # End of invoke-without-loop tests 593s # Start of invoke-in-loop tests 593s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 593s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 593s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 593s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 593s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 593s # End of invoke-in-loop tests 593s # Start of sync tests 593s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 593s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 593s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 593s # End of sync tests 593s # Start of async tests 593s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 593s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 593s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 593s # End of async tests 593s # End of request-certificate tests 593s # End of tls-interaction tests 593s ok - glib/tls-interaction.test 593s # Running test: glib/base64.test 593s TAP version 13 593s # random seed: R02S947fc81bd4e377b1c5b9eae8010376ab 593s 1..28 593s # Start of base64 tests 593s ok 1 /base64/encode 593s ok 2 /base64/decode 593s ok 3 /base64/decode-inplace 593s ok 4 /base64/encode-decode 593s # Start of full tests 593s ok 5 /base64/full/1 593s ok 6 /base64/full/2 593s ok 7 /base64/full/3 593s ok 8 /base64/full/4 593s # End of full tests 593s # Start of encode tests 593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 593s ok 9 /base64/encode/empty 593s # Start of incremental tests 593s # Start of small-block tests 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 593s ok 10 /base64/encode/incremental/small-block/1 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 593s ok 11 /base64/encode/incremental/small-block/2 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 593s ok 12 /base64/encode/incremental/small-block/3 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 593s ok 13 /base64/encode/incremental/small-block/4 593s # End of small-block tests 593s # End of incremental tests 593s # End of encode tests 593s # Start of incremental tests 593s # Start of nobreak tests 593s ok 14 /base64/incremental/nobreak/1 593s ok 15 /base64/incremental/nobreak/2 593s ok 16 /base64/incremental/nobreak/3 593s ok 17 /base64/incremental/nobreak/4-a 593s ok 18 /base64/incremental/nobreak/4-b 593s ok 19 /base64/incremental/nobreak/4-c 593s # End of nobreak tests 593s # Start of break tests 593s ok 20 /base64/incremental/break/1 593s ok 21 /base64/incremental/break/2 593s ok 22 /base64/incremental/break/3 593s # End of break tests 593s # Start of smallblock tests 593s ok 23 /base64/incremental/smallblock/1 593s ok 24 /base64/incremental/smallblock/2 593s ok 25 /base64/incremental/smallblock/3 593s ok 26 /base64/incremental/smallblock/4 593s # End of smallblock tests 593s # End of incremental tests 593s # Start of decode tests 593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 593s ok 27 /base64/decode/empty 593s # End of decode tests 593s # Start of encode-decode tests 593s # Vector 0: 593s # Vector 1: f 593s # Vector 2: fo 593s # Vector 3: foo 593s # Vector 4: foob 593s # Vector 5: fooba 593s # Vector 6: foobar 593s ok 28 /base64/encode-decode/rfc4648 593s # End of encode-decode tests 593s # End of base64 tests 593s ok - glib/base64.test 593s # Running test: glib/gdbus-auth.test 593s TAP version 13 593s # random seed: R02S9defe7c6b60048c5e3f00001a42df983 593s 1..5 593s # Start of gdbus tests 593s # Start of auth tests 593s # Start of client tests 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 593s ok 1 /gdbus/auth/client/EXTERNAL 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 593s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 593s # End of client tests 593s # Start of server tests 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 593s ok 3 /gdbus/auth/server/ANONYMOUS 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 593s ok 4 /gdbus/auth/server/EXTERNAL 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_B8AVK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 593s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 593s # End of server tests 593s # End of auth tests 593s # End of gdbus tests 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok - glib/gdbus-auth.test 593s # Running test: glib/protocol.test 593s TAP version 13 593s # random seed: R02Sa0aee29338d7e933f2dbde47fdd36ba5 593s 1..9 593s # Start of glib tests 593s # Start of testing tests 593s # Start of protocol tests 593s ok 1 /glib/testing/protocol/debug 593s ok 2 /glib/testing/protocol/info 593s ok 3 /glib/testing/protocol/message 593s ok 4 /glib/testing/protocol/warning 593s ok 5 /glib/testing/protocol/critical 593s ok 6 /glib/testing/protocol/error 593s ok 7 /glib/testing/protocol/gtest-message 593s ok 8 /glib/testing/protocol/test-message 593s ok 9 /glib/testing/protocol/test-error 593s # End of protocol tests 593s # End of testing tests 593s # End of glib tests 593s ok - glib/protocol.test 593s # Running test: glib/utf8-misc.test 593s TAP version 13 593s # random seed: R02Sba35cfe071f21c9b2effc2c8715b556a 593s 1..7 593s # Start of utf8 tests 593s ok 1 /utf8/strlen 593s ok 2 /utf8/strncpy 593s ok 3 /utf8/strrchr 593s ok 4 /utf8/reverse 593s ok 5 /utf8/substring 593s ok 6 /utf8/make-valid 593s ok 7 /utf8/truncate-middle 593s # End of utf8 tests 593s ok - glib/utf8-misc.test 593s # Running test: glib/overflow-fallback.test 593s TAP version 13 593s # random seed: R02S8723503d777d4d89a66d8f4e39c19dd2 593s 1..6 593s # Start of glib tests 593s # Start of checked-math tests 593s ok 1 /glib/checked-math/guint-add 593s ok 2 /glib/checked-math/guint-mul 593s ok 3 /glib/checked-math/guint64-add 593s ok 4 /glib/checked-math/guint64-mul 593s ok 5 /glib/checked-math/gsize-add 593s ok 6 /glib/checked-math/gsize-mul 593s # End of checked-math tests 593s # End of glib tests 593s ok - glib/overflow-fallback.test 593s # Running test: glib/memory-output-stream.test 593s TAP version 13 593s # random seed: R02Sc2f517e28b1361dbd28367d3d32a07a7 593s 1..10 593s # Start of memory-output-stream tests 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 593s ok 1 /memory-output-stream/truncate 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 593s ok 2 /memory-output-stream/get-data-size 593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 593s ok 3 /memory-output-stream/properties 593s ok 4 /memory-output-stream/write-bytes 593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 593s ok 5 /memory-output-stream/write-null 593s ok 6 /memory-output-stream/writev 593s ok 7 /memory-output-stream/writev_nonblocking 593s ok 8 /memory-output-stream/steal_as_bytes 593s # Start of seek tests 593s ok 9 /memory-output-stream/seek/fixed 593s ok 10 /memory-output-stream/seek/resizable 593s # End of seek tests 593s # End of memory-output-stream tests 593s ok - glib/memory-output-stream.test 593s # Running test: glib/actions.test 593s TAP version 13 593s # random seed: R02Se7ea4755a4b046b9a46381b8bbb3ac80 593s 1..12 593s # Start of actions tests 593s ok 1 /actions/basic 593s ok 2 /actions/name 593s ok 3 /actions/simplegroup 593s ok 4 /actions/stateful 593s ok 5 /actions/default-activate 593s ok 6 /actions/entries 593s ok 7 /actions/parse-detailed 593s ok 8 /actions/property 593s ok 9 /actions/no-properties 593s # Start of dbus tests 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 10 /actions/dbus/export 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s ok 11 /actions/dbus/threaded 594s # slow test /actions/dbus/threaded executed in 1.04 secs 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 594s ok 12 /actions/dbus/bug679509 594s # End of dbus tests 594s # End of actions tests 594s ok - glib/actions.test 594s # Running test: glib/portal-support-flatpak-gsettings-only.test 594s TAP version 13 594s # random seed: R02Sfa2384801317dc218e4a74d5e548d640 594s 1..1 594s # Start of portal-support tests 594s # Start of flatpak tests 594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/home 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/cache 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/system-config2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/config 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/system-data2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/data 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/state 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/runtime 594s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_9ET0K2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 594s ok 1 /portal-support/flatpak/gsettings 594s # End of flatpak tests 594s # End of portal-support tests 594s ok - glib/portal-support-flatpak-gsettings-only.test 594s # Running test: glib/gdbus-export.test 594s TAP version 13 594s # random seed: R02Se50b7071f5c48ed6ff7affe690371700 594s 1..6 594s # Start of gdbus tests 594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/home 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/cache 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/system-config2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/config 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/system-data2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/data 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/state 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration/.dirs/runtime 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s ok 1 /gdbus/object-registration 594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/home 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/cache 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/system-config2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/config 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/system-data2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/data 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/state 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2S20K2/gdbus/object-registration-with-closures/.dirs/runtime 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s ok 2 /gdbus/object-registration-with-closures 594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/home 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/cache 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/system-config2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/config 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/system-data2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/data 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/state 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2S20K2/gdbus/registered-interfaces/.dirs/runtime 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s ok 3 /gdbus/registered-interfaces 594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/home 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/cache 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/system-config2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/config 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/system-data2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/data 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/state 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2S20K2/gdbus/async-properties/.dirs/runtime 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s ok 4 /gdbus/async-properties 594s # Start of threaded-unregistration tests 594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/home 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/cache 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/system-config2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/config 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/system-data2 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/data 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/state 594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/object/.dirs/runtime 594s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 594s # /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 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 594s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 595s # slow test /gdbus/threaded-unregistration/object executed in 1.22 secs 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2S20K2/gdbus/threaded-unregistration/subtree/.dirs/runtime 595s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 595s # /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 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 596s # slow test /gdbus/threaded-unregistration/subtree executed in 1.20 secs 596s # End of threaded-unregistration tests 596s # End of gdbus tests 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s ok - glib/gdbus-export.test 596s # Running test: glib/boxed.test 596s TAP version 13 596s # random seed: R02Sae0e127671aee38c80ba2324148d35a9 596s 1..27 596s # Start of boxed tests 596s ok 1 /boxed/define 596s ok 2 /boxed/ownership 596s ok 3 /boxed/closure 596s ok 4 /boxed/date 596s ok 5 /boxed/value 596s ok 6 /boxed/string 596s ok 7 /boxed/hashtable 596s ok 8 /boxed/array 596s ok 9 /boxed/ptrarray 596s ok 10 /boxed/regex 596s ok 11 /boxed/varianttype 596s ok 12 /boxed/error 596s ok 13 /boxed/datetime 596s ok 14 /boxed/matchinfo 596s ok 15 /boxed/keyfile 596s ok 16 /boxed/mainloop 596s ok 17 /boxed/maincontext 596s ok 18 /boxed/source 596s ok 19 /boxed/variantbuilder 596s ok 20 /boxed/timezone 596s ok 21 /boxed/pollfd 596s ok 22 /boxed/markup 596s ok 23 /boxed/thread 596s ok 24 /boxed/checksum 596s ok 25 /boxed/tree 596s ok 26 /boxed/patternspec 596s ok 27 /boxed/rand 596s # End of boxed tests 596s ok - glib/boxed.test 596s # Running test: glib/utf8-pointer.test 596s TAP version 13 596s # random seed: R02Sa33c140bdbccfe009310663d7653b81a 596s 1..3 596s # Start of utf8 tests 597s ok 1 /utf8/offsets 597s # slow test /utf8/offsets executed in 0.89 secs 597s ok 2 /utf8/lengths 597s ok 3 /utf8/find 597s # End of utf8 tests 597s ok - glib/utf8-pointer.test 597s # Running test: glib/gutils-user-database.test 597s TAP version 13 597s # random seed: R02Se591c058197e2ca111c962e1d05ee1e2 597s 1..1 597s # Start of gutils tests 597s ok 1 /gutils/get_user_database_entry 597s # End of gutils tests 597s ok - glib/gutils-user-database.test 597s # Running test: glib/file-thumbnail.test 597s TAP version 13 597s # random seed: R02Sc0c503e413b4de2952c37cff5e0273ef 597s 1..7 597s # Start of file-thumbnail tests 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/system-data2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/data 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/state 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/runtime 597s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 597s ok 1 /file-thumbnail/fail 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/system-data2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/data 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/state 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/runtime 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 597s ok 2 /file-thumbnail/size-priority 597s # Start of valid tests 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/system-data2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/data 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/state 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/runtime 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 597s ok 3 /file-thumbnail/valid/normal 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/system-data2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/data 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/state 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/runtime 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 597s ok 4 /file-thumbnail/valid/large 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/system-data2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/data 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/state 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/runtime 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 597s ok 5 /file-thumbnail/valid/x-large 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/system-data2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/data 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/state 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/runtime 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 597s ok 6 /file-thumbnail/valid/xx-large 597s # End of valid tests 597s # Start of unknown tests 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/system-data2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/data 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/state 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/runtime 597s # Created test thumbnail at /tmp/test_file-thumbnail_ZRITK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 597s ok 7 /file-thumbnail/unknown/super-large 597s # End of unknown tests 597s # End of file-thumbnail tests 597s ok - glib/file-thumbnail.test 597s # Running test: glib/srvtarget.test 597s # Executing: glib/srvtarget.test 597s TAP version 13 597s # random seed: R02Se3793b3c1c55af1b27c460713a09d8df 597s 1..1 597s # Start of srvtarget tests 598s ok 1 /srvtarget/srv-target-ordering 598s # End of srvtarget tests 598s ok - glib/srvtarget.test 598s # Running test: glib/utf8-validate.test 598s TAP version 13 598s # random seed: R02Sf3174cb97ed75a8dd15c1926da170354 598s 1..216 598s # Start of utf8 tests 598s # Vector 0 598s # Vector 1 598s # Vector 2 598s # Vector 3 598s # Vector 4 598s # Vector 5 598s # Vector 6 598s # Vector 7 598s # Vector 8 598s # Vector 9 598s # Vector 10 598s # Vector 11 598s # Vector 12 598s # Vector 13 598s # Vector 14 598s # Vector 15 598s # Vector 16 598s # Vector 17 598s # Vector 18 598s # Vector 19 598s # Vector 20 598s # Vector 21 598s # Vector 22 598s # Vector 23 598s # Vector 24 598s # Vector 25 598s # Vector 26 598s # Vector 27 598s ok 1 /utf8/get-char-validated 598s # Start of validate tests 598s ok 2 /utf8/validate/0 598s ok 3 /utf8/validate/1 598s ok 4 /utf8/validate/2 598s ok 5 /utf8/validate/3 598s ok 6 /utf8/validate/4 598s ok 7 /utf8/validate/5 598s ok 8 /utf8/validate/6 598s ok 9 /utf8/validate/7 598s ok 10 /utf8/validate/8 598s ok 11 /utf8/validate/9 598s ok 12 /utf8/validate/10 598s ok 13 /utf8/validate/11 598s ok 14 /utf8/validate/12 598s ok 15 /utf8/validate/13 598s ok 16 /utf8/validate/14 598s ok 17 /utf8/validate/15 598s ok 18 /utf8/validate/16 598s ok 19 /utf8/validate/17 598s ok 20 /utf8/validate/18 598s ok 21 /utf8/validate/19 598s ok 22 /utf8/validate/20 598s ok 23 /utf8/validate/21 598s ok 24 /utf8/validate/22 598s ok 25 /utf8/validate/23 598s ok 26 /utf8/validate/24 598s ok 27 /utf8/validate/25 598s ok 28 /utf8/validate/26 598s ok 29 /utf8/validate/27 598s ok 30 /utf8/validate/28 598s ok 31 /utf8/validate/29 598s ok 32 /utf8/validate/30 598s ok 33 /utf8/validate/31 598s ok 34 /utf8/validate/32 598s ok 35 /utf8/validate/33 598s ok 36 /utf8/validate/34 598s ok 37 /utf8/validate/35 598s ok 38 /utf8/validate/36 598s ok 39 /utf8/validate/37 598s ok 40 /utf8/validate/38 598s ok 41 /utf8/validate/39 598s ok 42 /utf8/validate/40 598s ok 43 /utf8/validate/41 598s ok 44 /utf8/validate/42 598s ok 45 /utf8/validate/43 598s ok 46 /utf8/validate/44 598s ok 47 /utf8/validate/45 598s ok 48 /utf8/validate/46 598s ok 49 /utf8/validate/47 598s ok 50 /utf8/validate/48 598s ok 51 /utf8/validate/49 598s ok 52 /utf8/validate/50 598s ok 53 /utf8/validate/51 598s ok 54 /utf8/validate/52 598s ok 55 /utf8/validate/53 598s ok 56 /utf8/validate/54 598s ok 57 /utf8/validate/55 598s ok 58 /utf8/validate/56 598s ok 59 /utf8/validate/57 598s ok 60 /utf8/validate/58 598s ok 61 /utf8/validate/59 598s ok 62 /utf8/validate/60 598s ok 63 /utf8/validate/61 598s ok 64 /utf8/validate/62 598s ok 65 /utf8/validate/63 598s ok 66 /utf8/validate/64 598s ok 67 /utf8/validate/65 598s ok 68 /utf8/validate/66 598s ok 69 /utf8/validate/67 598s ok 70 /utf8/validate/68 598s ok 71 /utf8/validate/69 598s ok 72 /utf8/validate/70 598s ok 73 /utf8/validate/71 598s ok 74 /utf8/validate/72 598s ok 75 /utf8/validate/73 598s ok 76 /utf8/validate/74 598s ok 77 /utf8/validate/75 598s ok 78 /utf8/validate/76 598s ok 79 /utf8/validate/77 598s ok 80 /utf8/validate/78 598s ok 81 /utf8/validate/79 598s ok 82 /utf8/validate/80 598s ok 83 /utf8/validate/81 598s ok 84 /utf8/validate/82 598s ok 85 /utf8/validate/83 598s ok 86 /utf8/validate/84 598s ok 87 /utf8/validate/85 598s ok 88 /utf8/validate/86 598s ok 89 /utf8/validate/87 598s ok 90 /utf8/validate/88 598s ok 91 /utf8/validate/89 598s ok 92 /utf8/validate/90 598s ok 93 /utf8/validate/91 598s ok 94 /utf8/validate/92 598s ok 95 /utf8/validate/93 598s ok 96 /utf8/validate/94 598s ok 97 /utf8/validate/95 598s ok 98 /utf8/validate/96 598s ok 99 /utf8/validate/97 598s ok 100 /utf8/validate/98 598s ok 101 /utf8/validate/99 598s ok 102 /utf8/validate/100 598s ok 103 /utf8/validate/101 598s ok 104 /utf8/validate/102 598s ok 105 /utf8/validate/103 598s ok 106 /utf8/validate/104 598s ok 107 /utf8/validate/105 598s ok 108 /utf8/validate/106 598s ok 109 /utf8/validate/107 598s ok 110 /utf8/validate/108 598s ok 111 /utf8/validate/109 598s ok 112 /utf8/validate/110 598s ok 113 /utf8/validate/111 598s ok 114 /utf8/validate/112 598s ok 115 /utf8/validate/113 598s ok 116 /utf8/validate/114 598s ok 117 /utf8/validate/115 598s ok 118 /utf8/validate/116 598s ok 119 /utf8/validate/117 598s ok 120 /utf8/validate/118 598s ok 121 /utf8/validate/119 598s ok 122 /utf8/validate/120 598s ok 123 /utf8/validate/121 598s ok 124 /utf8/validate/122 598s ok 125 /utf8/validate/123 598s ok 126 /utf8/validate/124 598s ok 127 /utf8/validate/125 598s ok 128 /utf8/validate/126 598s ok 129 /utf8/validate/127 598s ok 130 /utf8/validate/128 598s ok 131 /utf8/validate/129 598s ok 132 /utf8/validate/130 598s ok 133 /utf8/validate/131 598s ok 134 /utf8/validate/132 598s ok 135 /utf8/validate/133 598s ok 136 /utf8/validate/134 598s ok 137 /utf8/validate/135 598s ok 138 /utf8/validate/136 598s ok 139 /utf8/validate/137 598s ok 140 /utf8/validate/138 598s ok 141 /utf8/validate/139 598s ok 142 /utf8/validate/140 598s ok 143 /utf8/validate/141 598s ok 144 /utf8/validate/142 598s ok 145 /utf8/validate/143 598s ok 146 /utf8/validate/144 598s ok 147 /utf8/validate/145 598s ok 148 /utf8/validate/146 598s ok 149 /utf8/validate/147 598s ok 150 /utf8/validate/148 598s ok 151 /utf8/validate/149 598s ok 152 /utf8/validate/150 598s ok 153 /utf8/validate/151 598s ok 154 /utf8/validate/152 598s ok 155 /utf8/validate/153 598s ok 156 /utf8/validate/154 598s ok 157 /utf8/validate/155 598s ok 158 /utf8/validate/156 598s ok 159 /utf8/validate/157 598s ok 160 /utf8/validate/158 598s ok 161 /utf8/validate/159 598s ok 162 /utf8/validate/160 598s ok 163 /utf8/validate/161 598s ok 164 /utf8/validate/162 598s ok 165 /utf8/validate/163 598s ok 166 /utf8/validate/164 598s ok 167 /utf8/validate/165 598s ok 168 /utf8/validate/166 598s ok 169 /utf8/validate/167 598s ok 170 /utf8/validate/168 598s ok 171 /utf8/validate/169 598s ok 172 /utf8/validate/170 598s ok 173 /utf8/validate/171 598s ok 174 /utf8/validate/172 598s ok 175 /utf8/validate/173 598s ok 176 /utf8/validate/174 598s ok 177 /utf8/validate/175 598s ok 178 /utf8/validate/176 598s ok 179 /utf8/validate/177 598s ok 180 /utf8/validate/178 598s ok 181 /utf8/validate/179 598s ok 182 /utf8/validate/180 598s ok 183 /utf8/validate/181 598s ok 184 /utf8/validate/182 598s ok 185 /utf8/validate/183 598s ok 186 /utf8/validate/184 598s ok 187 /utf8/validate/185 598s ok 188 /utf8/validate/186 598s ok 189 /utf8/validate/187 598s ok 190 /utf8/validate/188 598s ok 191 /utf8/validate/189 598s ok 192 /utf8/validate/190 598s ok 193 /utf8/validate/191 598s ok 194 /utf8/validate/192 598s ok 195 /utf8/validate/193 598s ok 196 /utf8/validate/194 598s ok 197 /utf8/validate/195 598s ok 198 /utf8/validate/196 598s ok 199 /utf8/validate/197 598s ok 200 /utf8/validate/198 598s ok 201 /utf8/validate/199 598s ok 202 /utf8/validate/200 598s ok 203 /utf8/validate/201 598s ok 204 /utf8/validate/202 598s ok 205 /utf8/validate/203 598s ok 206 /utf8/validate/204 598s ok 207 /utf8/validate/205 598s ok 208 /utf8/validate/206 598s ok 209 /utf8/validate/207 598s ok 210 /utf8/validate/208 598s ok 211 /utf8/validate/209 598s ok 212 /utf8/validate/210 598s ok 213 /utf8/validate/211 598s ok 214 /utf8/validate/212 598s ok 215 /utf8/validate/213 598s ok 216 /utf8/validate/214 598s # End of validate tests 598s # End of utf8 tests 598s ok - glib/utf8-validate.test 598s # Running test: glib/signalgroup.test 598s TAP version 13 598s # random seed: R02S1b72f37c813669f664ab4d338d02f46f 598s 1..9 598s # Start of GObject tests 598s # Start of SignalGroup tests 598s ok 1 /GObject/SignalGroup/invalid 598s ok 2 /GObject/SignalGroup/simple 598s ok 3 /GObject/SignalGroup/changing-target 598s ok 4 /GObject/SignalGroup/blocking 598s ok 5 /GObject/SignalGroup/weak-ref-target 598s ok 6 /GObject/SignalGroup/connect-object 598s ok 7 /GObject/SignalGroup/signal-parsing 598s ok 8 /GObject/SignalGroup/properties 598s ok 9 /GObject/SignalGroup/interface 598s # Start of signal-parsing tests 598s # End of signal-parsing tests 598s # End of SignalGroup tests 598s # End of GObject tests 598s ok - glib/signalgroup.test 598s # Running test: glib/once.test 598s TAP version 13 598s # random seed: R02S17f8b018f9a5e131b3ba094a4cc057e5 598s 1..5 598s # Start of once tests 598s # /once/single-threaded summary: Test g_once() usage from a single thread 598s ok 1 /once/single-threaded 598s # /once/multi-threaded summary: Test g_once() usage from multiple threads 598s ok 2 /once/multi-threaded 598s # End of once tests 598s # Start of once-init tests 598s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 598s ok 3 /once-init/single-threaded 598s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 598s ok 4 /once-init/multi-threaded 598s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 598s ok 5 /once-init/string 598s # End of once-init tests 598s ok - glib/once.test 598s # Running test: glib/mount-operation.test 598s TAP version 13 598s # random seed: R02S343aa8e19e922ed84b2e63ea6853d598 598s 1..2 598s # Start of mount-operation tests 598s ok 1 /mount-operation/construction 598s ok 2 /mount-operation/properties 598s # End of mount-operation tests 598s ok - glib/mount-operation.test 598s # Running test: glib/mapping.test 598s TAP version 13 598s # random seed: R02S8a48971c54d7131a3614ddcf6beac21e 598s 1..3 598s # Start of mapping tests 598s # test_mapping: ok 598s ok 1 /mapping/flags 598s ok 2 /mapping/private 598s # test_child_private: child spawned 598s # Subtest: /usr/libexec/installed-tests/glib/mapping 598s # # random seed: R02S12b31337c9aa54d72839cf521231abe1 598s # test_child_private: received first child signal 598s # # test_child_private: received parent signal 598s # test_child_private: received second child signal 598s ok 3 /mapping/private-child 598s # End of mapping tests 598s ok - glib/mapping.test 598s # Running test: glib/reference.test 598s TAP version 13 598s # random seed: R02Sa23eb58302521eba720e39d4dcfd8f06 598s 1..29 598s # Start of type tests 598s ok 1 /type/fundamentals 598s ok 2 /type/qdata 598s ok 3 /type/query 598s ok 4 /type/class-private 598s # End of type tests 598s # Start of object tests 598s ok 5 /object/clear 598s ok 6 /object/clear-function 598s ok 7 /object/set 598s ok 8 /object/set-function 598s ok 9 /object/value 598s ok 10 /object/initially-unowned 598s ok 11 /object/weak-pointer 598s ok 12 /object/weak-ref 598s ok 13 /object/toggle-ref 598s ok 14 /object/qdata 598s ok 15 /object/qdata2 598s # Start of set tests 598s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 598s ok 16 /object/set/derived-type 598s # End of set tests 598s # Start of weak-pointer tests 598s ok 17 /object/weak-pointer/clear 598s ok 18 /object/weak-pointer/clear-function 598s ok 19 /object/weak-pointer/set 598s ok 20 /object/weak-pointer/set-function 598s # End of weak-pointer tests 598s # Start of weak-ref tests 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 598s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 598s ok 21 /object/weak-ref/on-dispose 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 598s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 598s ok 22 /object/weak-ref/on-run-dispose 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 598s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 598s ok 23 /object/weak-ref/on-toggle-notify 598s ok 24 /object/weak-ref/in-toggle-notify 598s ok 25 /object/weak-ref/many 598s # Start of concurrent tests 598s ok 26 /object/weak-ref/concurrent/0 598s ok 27 /object/weak-ref/concurrent/1 598s # End of concurrent tests 598s # End of weak-ref tests 598s # Start of toggle-ref tests 598s ok 28 /object/toggle-ref/ref-on-dispose 598s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 598s # End of toggle-ref tests 598s # End of object tests 598s ok - glib/reference.test 598s # Running test: glib/thread.test 598s TAP version 13 598s # random seed: R02S35f934a0a46115ec07cdff649ee8a66d 598s 1..7 598s # Start of thread tests 598s ok 1 /thread/thread1 598s ok 2 /thread/thread2 598s ok 3 /thread/thread3 598s ok 4 /thread/thread4 598s ok 5 /thread/thread5 598s ok 6 /thread/thread6 598s ok 7 /thread/thread7 598s # End of thread tests 598s ok - glib/thread.test 598s # Running test: glib/private.test 598s TAP version 13 598s # random seed: R02S3d821e44177f08b6e83dac72e9dc2ec4 598s 1..8 598s # Start of thread tests 598s ok 1 /thread/private1 599s ok 2 /thread/private2 599s # slow test /thread/private2 executed in 1.08 secs 599s ok 3 /thread/private3 599s ok 4 /thread/staticprivate1 599s ok 5 /thread/staticprivate2 599s ok 6 /thread/staticprivate3 600s ok 7 /thread/staticprivate4 600s # slow test /thread/staticprivate4 executed in 1.08 secs 600s ok 8 /thread/staticprivate5 600s # End of thread tests 600s ok - glib/private.test 600s # Running test: glib/gdbus-non-socket.test 600s TAP version 13 600s # random seed: R02Se44d6e659ae14bc051a564b598486cb4 600s 1..1 600s # Start of gdbus tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_57KNK2/gdbus/non-socket/.dirs/runtime 600s ok 1 /gdbus/non-socket 600s # End of gdbus tests 600s ok - glib/gdbus-non-socket.test 600s # Running test: glib/utils.test 600s TAP version 13 600s # random seed: R02Sa1644595a437ad9dcdfbb7f2ba96a488 600s 1..40 600s # Start of utils tests 600s ok 1 /utils/language-names 600s ok 2 /utils/locale-variants 600s ok 3 /utils/version 600s ok 4 /utils/appname 600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 600s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 600s ok 5 /utils/prgname-thread-safety 600s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 600s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 600s ok 6 /utils/tmpdir 600s ok 7 /utils/basic_bits 600s ok 8 /utils/bits 600s ok 9 /utils/swap 600s ok 10 /utils/find-program 600s ok 11 /utils/find-program-for-path 600s ok 12 /utils/debug 600s ok 13 /utils/codeset 600s ok 14 /utils/codeset2 600s ok 15 /utils/console-charset 600s ok 16 /utils/gettext 600s ok 17 /utils/username 600s ok 18 /utils/realname 600s ok 19 /utils/hostname 600s ok 20 /utils/xdgdirs 600s ok 21 /utils/specialdir 600s # NAME: Ubuntu 600s ok 22 /utils/os-info 600s ok 23 /utils/clear-pointer 600s ok 24 /utils/clear-pointer-cast 600s ok 25 /utils/take-pointer 600s ok 26 /utils/clear-source 600s ok 27 /utils/misc-mem 600s # /utils/aligned-mem summary: Aligned memory allocator 600s # Alignment must not be zero 600s # Alignment must be a power of two 600s # Alignment must be a multiple of sizeof(void*) 600s ok 28 /utils/aligned-mem 600s # /utils/free-sized summary: Check that g_free_sized() works 600s ok 29 /utils/free-sized 600s ok 30 /utils/nullify 600s ok 31 /utils/atexit 600s ok 32 /utils/check-setuid 600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 600s ok 33 /utils/int-limits 600s ok 34 /utils/clear-list 600s ok 35 /utils/clear-slist 600s # Start of specialdir tests 600s ok 36 /utils/specialdir/desktop 600s # End of specialdir tests 600s # Start of clear-pointer tests 600s ok 37 /utils/clear-pointer/side-effects 600s # End of clear-pointer tests 600s # Start of aligned-mem tests 600s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 600s ok 38 /utils/aligned-mem/alignment 600s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 600s ok 39 /utils/aligned-mem/zeroed 600s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 600s ok 40 /utils/aligned-mem/free-sized 600s # Start of subprocess tests 600s # End of subprocess tests 600s # End of aligned-mem tests 600s # End of utils tests 600s ok - glib/utils.test 600s # Running test: glib/tls-certificate.test 600s TAP version 13 600s # random seed: R02Sd9534b2c0684935fa7b9825f612d59b5 600s 1..19 600s # Start of tls-certificate tests 600s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 600s ok 1 /tls-certificate/pem-parser 600s ok 2 /tls-certificate/pem-parser-handles-chain 600s ok 3 /tls-certificate/from_file 600s ok 4 /tls-certificate/from_files 600s ok 5 /tls-certificate/from_files_crlf 600s ok 6 /tls-certificate/from_files_pkcs8 600s ok 7 /tls-certificate/from_files_pkcs8enc 600s ok 8 /tls-certificate/list_from_file 600s ok 9 /tls-certificate/pkcs11-uri 600s ok 10 /tls-certificate/pkcs11-uri-unsupported 600s ok 11 /tls-certificate/from_pkcs12 600s ok 12 /tls-certificate/from_pkcs12_file 600s ok 13 /tls-certificate/not-valid-before 600s ok 14 /tls-certificate/not-valid-after 600s ok 15 /tls-certificate/subject-name 600s ok 16 /tls-certificate/issuer-name 600s ok 17 /tls-certificate/dns-names 600s ok 18 /tls-certificate/ip-addresses 600s ok 19 /tls-certificate/pem-parser-no-sentinel 600s # End of tls-certificate tests 600s ok - glib/tls-certificate.test 600s # Running test: glib/properties-refcount4.test 600s TAP version 13 600s # random seed: R02Saae8e2e82a58bb4da6991cf578f49c5a 600s 1..1 600s # Start of gobject tests 600s # Start of refcount tests 600s ok 1 /gobject/refcount/properties-4 600s # End of refcount tests 600s # End of gobject tests 600s ok - glib/properties-refcount4.test 600s # Running test: glib/closure.test 601s TAP version 13 601s # random seed: R02S5f7176265be7b676cee7e88d77f7ef68 601s 1..6 601s # Start of closure tests 601s ok 1 /closure/idle 601s ok 2 /closure/timeout 601s ok 3 /closure/iochannel 601s ok 4 /closure/child 601s ok 5 /closure/fd 601s ok 6 /closure/signal 601s # End of closure tests 601s ok - glib/closure.test 601s # Running test: glib/singleton.test 601s TAP version 13 601s # random seed: R02S655869b9ad7252c37528c81b6823858f 601s 1..2 601s # Start of gobject tests 601s # Start of singleton tests 601s ok 1 /gobject/singleton/construction 601s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 601s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 601s ok 2 /gobject/singleton/construct-property 601s # End of singleton tests 601s # End of gobject tests 601s ok - glib/singleton.test 601s # Running test: glib/charset.test 601s TAP version 13 601s # random seed: R02Se1f54e047e20c7eb8f99205340c5a643 601s 1..2 601s # Start of charset tests 601s # Test 0 601s # Test 1 601s # Test 2 601s # Test 3 601s ok 1 /charset/language_names_with_category 601s ok 2 /charset/language_names_with_category_async 601s # End of charset tests 601s ok - glib/charset.test 601s # Running test: glib/uri.test 601s TAP version 13 601s # random seed: R02Se79ec8a53ea889bbb135e783ac14ea7a 601s 1..24 601s # Start of uri tests 601s ok 1 /uri/file-to-uri 601s ok 2 /uri/file-from-uri 601s ok 3 /uri/file-roundtrip 601s ok 4 /uri/list 601s # Test 0: %2Babc %4F 601s # Test 1: %2Babc %4F 601s # Test 2: %00abc %4F 601s # Test 3: /cursors/none.png 601s # Test 4: /cursors%2fbad-subdir/none.png 601s # Test 5: %0 601s # Test 6: %ra 601s # Test 7: %2r 601s # Test 8: Timm B?der 601s # Test 9: (null) 601s ok 5 /uri/unescape-string 601s ok 6 /uri/unescape-segment 601s # Test 0: abcdefgABCDEFG._~ 601s # Test 1: :+ \\?# 601s # Test 2: a+b:c 601s # Test 3: a+b:c\303\234 601s # Test 4: \374;\322 601s # Test 5: \303\261\303( 601s ok 7 /uri/escape-string 601s ok 8 /uri/escape-bytes 601s ok 9 /uri/scheme 601s ok 10 /uri/build 601s ok 11 /uri/split 601s ok 12 /uri/is_valid 601s ok 13 /uri/to-string 601s ok 14 /uri/join 601s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 601s # Combination 0 601s # Combination 1 601s # Combination 2 601s # Combination 3 601s # Combination 4 601s # Combination 5 601s # Combination 6 601s # Combination 7 601s # Combination 8 601s # Combination 9 601s # Combination 10 601s # Combination 11 601s # Combination 12 601s # Combination 13 601s # Combination 14 601s # Combination 15 601s # Combination 16 601s # Combination 17 601s # Combination 18 601s # Combination 19 601s # Combination 20 601s # Combination 21 601s # Combination 22 601s # Combination 23 601s # Combination 24 601s # Combination 25 601s # Combination 26 601s # Combination 27 601s # Combination 28 601s # Combination 29 601s # Combination 30 601s # Combination 31 601s # Combination 32 601s # Combination 33 601s # Combination 34 601s # Combination 35 601s # Combination 36 601s # Combination 37 601s # Combination 38 601s # Combination 39 601s # Combination 40 601s # Combination 41 601s # Combination 42 601s # Combination 43 601s # Combination 44 601s # Combination 45 601s # Combination 46 601s # Combination 47 601s # Combination 48 601s # Combination 49 601s # Combination 50 601s # Combination 51 601s # Combination 52 601s # Combination 53 601s # Combination 54 601s # Combination 55 601s # Combination 56 601s # Combination 57 601s # Combination 58 601s # Combination 59 601s # Combination 60 601s # Combination 61 601s # Combination 62 601s # Combination 63 601s # Combination 64 601s # Combination 65 601s # Combination 66 601s # Combination 67 601s # Combination 68 601s # Combination 69 601s # Combination 70 601s # Combination 71 601s # Combination 72 601s # Combination 73 601s # Combination 74 601s # Combination 75 601s # Combination 76 601s # Combination 77 601s # Combination 78 601s # Combination 79 601s # Combination 80 601s # Combination 81 601s # Combination 82 601s # Combination 83 601s # Combination 84 601s # Combination 85 601s # Combination 86 601s # Combination 87 601s # Combination 88 601s # Combination 89 601s # Combination 90 601s # Combination 91 601s # Combination 92 601s # Combination 93 601s # Combination 94 601s # Combination 95 601s # Combination 96 601s # Combination 97 601s # Combination 98 601s # Combination 99 601s # Combination 100 601s # Combination 101 601s # Combination 102 601s # Combination 103 601s # Combination 104 601s # Combination 105 601s # Combination 106 601s # Combination 107 601s # Combination 108 601s # Combination 109 601s # Combination 110 601s # Combination 111 601s # Combination 112 601s # Combination 113 601s # Combination 114 601s # Combination 115 601s # Combination 116 601s # Combination 117 601s # Combination 118 601s # Combination 119 601s # Combination 120 601s # Combination 121 601s # Combination 122 601s # Combination 123 601s # Combination 124 601s # Combination 125 601s # Combination 126 601s # Combination 127 601s # Combination 128 601s # Combination 129 601s # Combination 130 601s # Combination 131 601s # Combination 132 601s # Combination 133 601s # Combination 134 601s # Combination 135 601s # Combination 136 601s # Combination 137 601s # Combination 138 601s # Combination 139 601s # Combination 140 601s # Combination 141 601s # Combination 142 601s # Combination 143 601s # Combination 144 601s # Combination 145 601s # Combination 146 601s # Combination 147 601s # Combination 148 601s # Combination 149 601s # Combination 150 601s # Combination 151 601s # Combination 152 601s # Combination 153 601s # Combination 154 601s # Combination 155 601s # Combination 156 601s # Combination 157 601s # Combination 158 601s # Combination 159 601s # Combination 160 601s # Combination 161 601s # Combination 162 601s # Combination 163 601s # Combination 164 601s # Combination 165 601s # Combination 166 601s # Combination 167 601s # Combination 168 601s # Combination 169 601s # Combination 170 601s # Combination 171 601s # Combination 172 601s # Combination 173 601s # Combination 174 601s # Combination 175 601s # Combination 176 601s # Combination 177 601s # Combination 178 601s # Combination 179 601s # Combination 180 601s # Combination 181 601s # Combination 182 601s # Combination 183 601s # Combination 184 601s # Combination 185 601s # Combination 186 601s # Combination 187 601s # Combination 188 601s # Combination 189 601s # Combination 190 601s # Combination 191 601s # Combination 192 601s # Combination 193 601s # Combination 194 601s # Combination 195 601s # Combination 196 601s # Combination 197 601s # Combination 198 601s # Combination 199 601s # Combination 200 601s # Combination 201 601s # Combination 202 601s # Combination 203 601s # Combination 204 601s # Combination 205 601s # Combination 206 601s # Combination 207 601s # Combination 208 601s # Combination 209 601s # Combination 210 601s # Combination 211 601s # Combination 212 601s # Combination 213 601s # Combination 214 601s # Combination 215 601s # Combination 216 601s # Combination 217 601s # Combination 218 601s # Combination 219 601s # Combination 220 601s # Combination 221 601s # Combination 222 601s # Combination 223 601s # Combination 224 601s # Combination 225 601s # Combination 226 601s # Combination 227 601s # Combination 228 601s # Combination 229 601s # Combination 230 601s # Combination 231 601s # Combination 232 601s # Combination 233 601s # Combination 234 601s # Combination 235 601s # Combination 236 601s # Combination 237 601s # Combination 238 601s # Combination 239 601s # Combination 240 601s # Combination 241 601s # Combination 242 601s # Combination 243 601s # Combination 244 601s # Combination 245 601s # Combination 246 601s # Combination 247 601s # Combination 248 601s # Combination 249 601s # Combination 250 601s # Combination 251 601s # Combination 252 601s # Combination 253 601s # Combination 254 601s # Combination 255 601s ok 15 /uri/join-split-round-trip 601s ok 16 /uri/normalize 601s # Start of unescape-bytes tests 601s # Test 0: %00%00 601s # Test 1: /cursors/none.png 601s # Test 2: /cursors%2fbad-subdir/none.png 601s # Test 3: %% 601s # Test 4: % 601s ok 17 /uri/unescape-bytes/nul-terminated 601s # Test 0: %00%00 601s # Test 1: /cursors/none.png 601s # Test 2: /cursors%2fbad-subdir/none.png 601s # Test 3: %% 601s # Test 4: % 601s ok 18 /uri/unescape-bytes/length 601s # End of unescape-bytes tests 601s # Start of parsing tests 601s # Test 0: foo: 601s # Test 1: file:/dev/null 601s # Test 2: file:///dev/null 601s # Test 3: ftp://user@host/path 601s # Test 4: ftp://user@host:9999/path 601s # Test 5: ftp://user:password@host/path 601s # Test 6: ftp://user:password@host:9999/path 601s # Test 7: ftp://user:password@host 601s # Test 8: http://us%65r@host 601s # Test 9: http://us%40r@host 601s # Test 10: http://us%3ar@host 601s # Test 11: http://us%2fr@host 601s # Test 12: http://us%3fr@host 601s # Test 13: http://host?query 601s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 601s # 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 601s # Test 16: http://space/%20 601s # Test 17: http://delims/%3C%3E%23%25%22 601s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 601s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 601s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 601s # Test 21: http://[3ffe:2a00:100:7031::1] 601s # Test 22: http://[1080::8:800:200C:417A]/foo 601s # Test 23: http://[::192.9.5.5]/ipng 601s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 601s # Test 25: http://[2010:836B:4179::836B:4179] 601s # Test 26: http://host/path with spaces 601s # Test 27: http://host/path 601s # Test 28: http://host/path 601s # Test 29: http://host 601s # Test 30: http://host:999 601s # Test 31: http://host/pa 601s # th 601s # Test 32: http: 601s # //host/path 601s # Test 33: http:// host/path 601s # Test 34: http://host/path? 601s # Test 35: http://host/path# 601s # Test 36: http://host/path% 601s # Test 37: http://h%ost/path 601s # Test 38: http://host/path%% 601s # Test 39: http://host/path%%% 601s # Test 40: http://host/path%/x/ 601s # Test 41: http://host/path%0x/ 601s # Test 42: http://host/path%ax 601s # Test 43: http://host/p?th/ 601s # Test 44: HTTP://////////////// 601s # Test 45: http://@host 601s # Test 46: http://:@host 601s # Test 47: scheme://foo%3Abar._webdav._tcp.local 601s # Test 48: http://example.com/.. 601s # Test 49: foo0://host/path 601s # Test 50: f0.o://host/path 601s # Test 51: http++://host/path 601s # Test 52: http-ish://host/path 601s # Test 53: http://[fe80::dead:beef%]/ 601s # Test 54: http://[fe80::dead:beef%em1]/ 601s # Test 55: http://[fe80::dead:beef%em1]/ 601s # Test 56: http://[fe80::dead:beef%25em1]/ 601s # Test 57: http://[fe80::dead:beef%25em1%20]/ 601s # Test 58: http://[fe80::dead:beef%25em%31]/ 601s # Test 59: http://[fe80::dead:beef%10]/ 601s # Test 60: http://[fe80::dead:beef%10]/ 601s # Test 61: http://[fe80::dead:beef%25]/ 601s # Test 62: http://[fe80::dead:beef%25]/ 601s # Test 63: http://[192.168.0.1%25em1]/ 601s # Test 64: http://[fe80::dead:beef%2em1]/ 601s # Test 65: http://[fe80::dead:beef%2em1]/ 601s # Test 66: http://[fe80::dead:beef%25em1%00]/ 601s # Test 67: http://[fe80::dead:beef%25em1%00]/ 601s # Test 68: http://xn--mixed-?p/ 601s ok 19 /uri/parsing/absolute 601s ok 20 /uri/parsing/relative 601s # End of parsing tests 601s # Start of iter-params tests 601s # URI 0: p1=foo&p2=bar;p3=baz 601s # URI 1: p1=foo&p2=bar 601s # URI 2: p1=foo&&P1=bar 601s # URI 3: %00=foo 601s # URI 4: p1=%00 601s # URI 5: p1=foo&p1=bar 601s # URI 6: p1=foo&P1=bar 601s # URI 7: =% 601s # URI 8: = 601s # URI 9: foo 601s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 601s ok 21 /uri/iter-params/nul-terminated 601s # URI 0: p1=foo&p2=bar;p3=baz 601s # URI 1: p1=foo&p2=bar 601s # URI 2: p1=foo&&P1=bar 601s # URI 3: %00=foo 601s # URI 4: p1=%00 601s # URI 5: p1=foo&p1=bar 601s # URI 6: p1=foo&P1=bar 601s # URI 7: =% 601s # URI 8: = 601s # URI 9: foo 601s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 601s ok 22 /uri/iter-params/length 601s # End of iter-params tests 601s # Start of parse-params tests 601s # URI 0: p1=foo&p2=bar;p3=baz 601s # URI 1: p1=foo&p2=bar 601s # URI 2: p1=foo&&P1=bar 601s # URI 3: %00=foo 601s # URI 4: p1=%00 601s # URI 5: p1=foo&p1=bar 601s # URI 6: p1=foo&P1=bar 601s # URI 7: =% 601s # URI 8: = 601s # URI 9: foo 601s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 601s ok 23 /uri/parse-params/nul-terminated 601s # URI 0: p1=foo&p2=bar;p3=baz 601s # URI 1: p1=foo&p2=bar 601s # URI 2: p1=foo&&P1=bar 601s # URI 3: %00=foo 601s # URI 4: p1=%00 601s # URI 5: p1=foo&p1=bar 601s # URI 6: p1=foo&P1=bar 601s # URI 7: =% 601s # URI 8: = 601s # URI 9: foo 601s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 601s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 601s ok 24 /uri/parse-params/length 601s # End of parse-params tests 601s # End of uri tests 601s ok - glib/uri.test 601s # Running test: glib/signals-refcount1.test 601s TAP version 13 601s # random seed: R02S1f0d6f07085268c409be5d5e901658aa 601s 1..1 601s # Start of gobject tests 601s # Start of refcount tests 601s # init 0xad4fa177b430 601s # 601s # init 0xad4fa177b5d0 601s # 602s # Executing: glib/signals-refcount1.test 606s # dispose 0xad4fa177b430! 606s # 606s # dispose 0xad4fa177b5d0! 606s # 606s ok 1 /gobject/refcount/signals 606s # slow test /gobject/refcount/signals executed in 5.00 secs 606s # End of refcount tests 606s # End of gobject tests 606s ok - glib/signals-refcount1.test 606s # Running test: glib/value.test 606s TAP version 13 606s # random seed: R02S37935569d0ce76801a952fc052c74a40 606s 1..8 606s # Start of value tests 606s ok 1 /value/basic 606s ok 2 /value/collection 606s ok 3 /value/copying 606s ok 4 /value/enum-transformation 606s ok 5 /value/gtype 606s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 606s ok 6 /value/string 606s # Next: GObject object in GValue of GObject to GValue of GObject 606s # Next: GObject object in GValue of GObject to GValue of TestInterface 606s # Next: GObject object in GValue of GObject to GValue of TestObjectA 606s # Next: GObject object in GValue of GObject to GValue of TestObjectB 606s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 606s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 606s # Next: TestObjectA object in GValue of GObject to GValue of GObject 606s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 606s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 606s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 606s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 606s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 606s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 606s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 606s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 606s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 606s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 606s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 606s # Next: TestObjectB object in GValue of GObject to GValue of GObject 606s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 606s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 606s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 606s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 606s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 606s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 606s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 606s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 606s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 606s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 606s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 606s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 606s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 606s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 606s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 606s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 606s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 606s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 606s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 606s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 606s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 606s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 606s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 606s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 606s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 606s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 606s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 606s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 606s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 606s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 606s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 606s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 606s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 606s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 606s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 606s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 606s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 606s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 606s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 606s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 606s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 606s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 606s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 606s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 606s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 606s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 606s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 606s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 606s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 606s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 606s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 606s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 606s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 606s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 606s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 606s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 606s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 606s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 606s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 606s ok 7 /value/transform-object 606s # Start of array tests 606s ok 8 /value/array/basic 606s # End of array tests 606s # End of value tests 606s ok - glib/value.test 606s # Running test: glib/buffered-input-stream.test 606s TAP version 13 606s # random seed: R02Safd3bb729a640fa3ee4bded41889596a 606s 1..10 606s # Start of buffered-input-stream tests 606s ok 1 /buffered-input-stream/peek 606s ok 2 /buffered-input-stream/peek-buffer 606s ok 3 /buffered-input-stream/set-buffer-size 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 606s ok 4 /buffered-input-stream/read-byte 606s ok 5 /buffered-input-stream/read 606s ok 6 /buffered-input-stream/read-async 606s ok 7 /buffered-input-stream/skip 606s ok 8 /buffered-input-stream/skip-async 606s ok 9 /buffered-input-stream/seek 606s # End of buffered-input-stream tests 606s # Start of filter-input-stream tests 606s ok 10 /filter-input-stream/close 606s # End of filter-input-stream tests 606s ok - glib/buffered-input-stream.test 606s # Running test: glib/network-monitor.test 606s TAP version 13 606s # random seed: R02Sbf1c233ed72e5ee143f9394cd15074c8 606s 1..4 606s # Start of network-monitor tests 606s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 606s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 606s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 606s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 606s ok 1 /network-monitor/default 606s ok 2 /network-monitor/remove_default 606s ok 3 /network-monitor/add_networks 606s ok 4 /network-monitor/remove_networks 606s # End of network-monitor tests 606s ok - glib/network-monitor.test 606s # Running test: glib/regex.test 606s TAP version 13 606s # random seed: R02S7bced0dc3b26c5f6218868a7efe96325 606s 1..848 606s # Start of regex tests 606s ok 1 /regex/properties 606s ok 2 /regex/class 606s ok 3 /regex/lookahead 606s ok 4 /regex/lookbehind 606s ok 5 /regex/subpattern 606s ok 6 /regex/condition 606s ok 7 /regex/recursion 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 606s ok 8 /regex/multiline 606s ok 9 /regex/explicit-crlf 606s ok 10 /regex/max-lookbehind 606s ok 11 /regex/compile-errors 606s ok 12 /regex/jit-unsupported-matching 606s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 606s ok 13 /regex/unmatched-named-subpattern 606s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 606s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 606s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 606s ok 14 /regex/compiled-regex-after-jit-failure 606s # Start of new tests 606s ok 15 /regex/new/1 606s ok 16 /regex/new/2 606s ok 17 /regex/new/3 606s ok 18 /regex/new/4 606s ok 19 /regex/new/5 606s ok 20 /regex/new/6 606s ok 21 /regex/new/7 606s ok 22 /regex/new/8 606s ok 23 /regex/new/9 606s ok 24 /regex/new/10 606s ok 25 /regex/new/11 606s ok 26 /regex/new/12 606s ok 27 /regex/new/13 606s ok 28 /regex/new/14 606s ok 29 /regex/new/15 606s ok 30 /regex/new/16 606s ok 31 /regex/new/17 606s ok 32 /regex/new/18 606s ok 33 /regex/new/19 606s ok 34 /regex/new/71 606s ok 35 /regex/new/80 606s ok 36 /regex/new/82 606s # End of new tests 606s # Start of new-check-flags tests 606s ok 37 /regex/new-check-flags/20 606s ok 38 /regex/new-check-flags/21 606s ok 39 /regex/new-check-flags/22 606s ok 40 /regex/new-check-flags/23 606s ok 41 /regex/new-check-flags/24 606s ok 42 /regex/new-check-flags/25 606s ok 43 /regex/new-check-flags/26 606s ok 44 /regex/new-check-flags/27 606s ok 45 /regex/new-check-flags/28 606s ok 46 /regex/new-check-flags/29 606s ok 47 /regex/new-check-flags/30 606s ok 48 /regex/new-check-flags/31 606s ok 49 /regex/new-check-flags/32 606s ok 50 /regex/new-check-flags/33 606s ok 51 /regex/new-check-flags/34 606s ok 52 /regex/new-check-flags/35 606s ok 53 /regex/new-check-flags/36 606s # End of new-check-flags tests 606s # Start of new-fail tests 606s ok 54 /regex/new-fail/37 606s ok 55 /regex/new-fail/38 606s ok 56 /regex/new-fail/39 606s ok 57 /regex/new-fail/40 606s ok 58 /regex/new-fail/41 606s ok 59 /regex/new-fail/42 606s ok 60 /regex/new-fail/43 606s ok 61 /regex/new-fail/44 606s ok 62 /regex/new-fail/45 606s ok 63 /regex/new-fail/46 606s ok 64 /regex/new-fail/47 606s ok 65 /regex/new-fail/48 606s ok 66 /regex/new-fail/49 606s ok 67 /regex/new-fail/50 606s ok 68 /regex/new-fail/51 606s ok 69 /regex/new-fail/52 606s ok 70 /regex/new-fail/53 606s ok 71 /regex/new-fail/54 606s ok 72 /regex/new-fail/55 606s ok 73 /regex/new-fail/56 606s ok 74 /regex/new-fail/57 606s ok 75 /regex/new-fail/58 606s ok 76 /regex/new-fail/59 606s ok 77 /regex/new-fail/60 606s ok 78 /regex/new-fail/61 606s ok 79 /regex/new-fail/62 606s ok 80 /regex/new-fail/63 606s ok 81 /regex/new-fail/64 606s ok 82 /regex/new-fail/65 606s ok 83 /regex/new-fail/66 606s ok 84 /regex/new-fail/67 606s ok 85 /regex/new-fail/68 606s ok 86 /regex/new-fail/69 606s ok 87 /regex/new-fail/70 606s ok 88 /regex/new-fail/72 606s ok 89 /regex/new-fail/73 606s ok 90 /regex/new-fail/74 606s ok 91 /regex/new-fail/75 606s ok 92 /regex/new-fail/76 606s ok 93 /regex/new-fail/77 606s ok 94 /regex/new-fail/78 606s ok 95 /regex/new-fail/79 606s ok 96 /regex/new-fail/81 606s ok 97 /regex/new-fail/83 606s ok 98 /regex/new-fail/84 606s ok 99 /regex/new-fail/85 606s ok 100 /regex/new-fail/86 606s ok 101 /regex/new-fail/87 606s ok 102 /regex/new-fail/88 606s ok 103 /regex/new-fail/89 606s ok 104 /regex/new-fail/90 606s ok 105 /regex/new-fail/91 606s # End of new-fail tests 606s # Start of match-simple tests 606s ok 106 /regex/match-simple/92 606s ok 107 /regex/match-simple/93 606s ok 108 /regex/match-simple/94 606s ok 109 /regex/match-simple/95 606s ok 110 /regex/match-simple/96 606s ok 111 /regex/match-simple/97 606s ok 112 /regex/match-simple/98 606s ok 113 /regex/match-simple/99 606s ok 114 /regex/match-simple/100 606s ok 115 /regex/match-simple/101 606s ok 116 /regex/match-simple/102 606s ok 117 /regex/match-simple/103 606s ok 118 /regex/match-simple/104 606s ok 119 /regex/match-simple/105 606s ok 120 /regex/match-simple/106 606s ok 121 /regex/match-simple/107 606s ok 122 /regex/match-simple/108 606s ok 123 /regex/match-simple/109 606s ok 124 /regex/match-simple/110 606s ok 125 /regex/match-simple/111 606s ok 126 /regex/match-simple/112 606s ok 127 /regex/match-simple/113 606s ok 128 /regex/match-simple/114 606s ok 129 /regex/match-simple/115 606s ok 130 /regex/match-simple/116 606s ok 131 /regex/match-simple/117 606s ok 132 /regex/match-simple/118 606s ok 133 /regex/match-simple/119 606s ok 134 /regex/match-simple/120 606s ok 135 /regex/match-simple/121 606s ok 136 /regex/match-simple/122 606s ok 137 /regex/match-simple/123 606s ok 138 /regex/match-simple/124 606s ok 139 /regex/match-simple/125 606s ok 140 /regex/match-simple/126 606s ok 141 /regex/match-simple/127 606s ok 142 /regex/match-simple/128 606s ok 143 /regex/match-simple/129 606s ok 144 /regex/match-simple/130 606s ok 145 /regex/match-simple/131 606s ok 146 /regex/match-simple/132 606s ok 147 /regex/match-simple/133 606s ok 148 /regex/match-simple/134 606s ok 149 /regex/match-simple/135 606s ok 150 /regex/match-simple/136 606s ok 151 /regex/match-simple/137 606s ok 152 /regex/match-simple/138 606s ok 153 /regex/match-simple/139 606s ok 154 /regex/match-simple/140 606s ok 155 /regex/match-simple/141 606s ok 156 /regex/match-simple/142 606s ok 157 /regex/match-simple/143 606s ok 158 /regex/match-simple/144 606s ok 159 /regex/match-simple/145 606s ok 160 /regex/match-simple/146 606s ok 161 /regex/match-simple/147 606s ok 162 /regex/match-simple/148 606s ok 163 /regex/match-simple/149 606s ok 164 /regex/match-simple/150 606s ok 165 /regex/match-simple/151 606s ok 166 /regex/match-simple/152 606s ok 167 /regex/match-simple/153 606s ok 168 /regex/match-simple/154 606s ok 169 /regex/match-simple/155 606s ok 170 /regex/match-simple/156 606s ok 171 /regex/match-simple/157 606s ok 172 /regex/match-simple/158 606s ok 173 /regex/match-simple/159 606s ok 174 /regex/match-simple/160 606s ok 175 /regex/match-simple/161 606s ok 176 /regex/match-simple/162 606s ok 177 /regex/match-simple/163 606s ok 178 /regex/match-simple/164 606s # End of match-simple tests 606s # Start of match-simple-optimized tests 606s ok 179 /regex/match-simple-optimized/92 606s ok 180 /regex/match-simple-optimized/93 606s ok 181 /regex/match-simple-optimized/94 606s ok 182 /regex/match-simple-optimized/95 606s ok 183 /regex/match-simple-optimized/96 606s ok 184 /regex/match-simple-optimized/97 606s ok 185 /regex/match-simple-optimized/98 606s ok 186 /regex/match-simple-optimized/99 606s ok 187 /regex/match-simple-optimized/100 606s ok 188 /regex/match-simple-optimized/101 606s ok 189 /regex/match-simple-optimized/102 606s ok 190 /regex/match-simple-optimized/103 606s ok 191 /regex/match-simple-optimized/104 606s ok 192 /regex/match-simple-optimized/105 606s ok 193 /regex/match-simple-optimized/106 606s ok 194 /regex/match-simple-optimized/107 606s ok 195 /regex/match-simple-optimized/108 606s ok 196 /regex/match-simple-optimized/109 606s ok 197 /regex/match-simple-optimized/110 606s ok 198 /regex/match-simple-optimized/111 606s ok 199 /regex/match-simple-optimized/112 606s ok 200 /regex/match-simple-optimized/113 606s ok 201 /regex/match-simple-optimized/114 606s ok 202 /regex/match-simple-optimized/115 606s ok 203 /regex/match-simple-optimized/116 606s ok 204 /regex/match-simple-optimized/117 606s ok 205 /regex/match-simple-optimized/118 606s ok 206 /regex/match-simple-optimized/119 606s ok 207 /regex/match-simple-optimized/120 606s ok 208 /regex/match-simple-optimized/121 606s ok 209 /regex/match-simple-optimized/122 606s ok 210 /regex/match-simple-optimized/123 606s ok 211 /regex/match-simple-optimized/124 606s ok 212 /regex/match-simple-optimized/125 606s ok 213 /regex/match-simple-optimized/126 606s ok 214 /regex/match-simple-optimized/127 606s ok 215 /regex/match-simple-optimized/128 606s ok 216 /regex/match-simple-optimized/129 606s ok 217 /regex/match-simple-optimized/130 606s ok 218 /regex/match-simple-optimized/131 606s ok 219 /regex/match-simple-optimized/132 606s ok 220 /regex/match-simple-optimized/133 606s ok 221 /regex/match-simple-optimized/134 606s ok 222 /regex/match-simple-optimized/135 606s ok 223 /regex/match-simple-optimized/136 606s ok 224 /regex/match-simple-optimized/137 606s ok 225 /regex/match-simple-optimized/138 606s ok 226 /regex/match-simple-optimized/139 606s ok 227 /regex/match-simple-optimized/140 606s ok 228 /regex/match-simple-optimized/141 606s ok 229 /regex/match-simple-optimized/142 606s ok 230 /regex/match-simple-optimized/143 606s ok 231 /regex/match-simple-optimized/144 606s ok 232 /regex/match-simple-optimized/145 606s ok 233 /regex/match-simple-optimized/146 606s ok 234 /regex/match-simple-optimized/147 606s ok 235 /regex/match-simple-optimized/148 606s ok 236 /regex/match-simple-optimized/149 606s ok 237 /regex/match-simple-optimized/150 606s ok 238 /regex/match-simple-optimized/151 606s ok 239 /regex/match-simple-optimized/152 606s ok 240 /regex/match-simple-optimized/153 606s ok 241 /regex/match-simple-optimized/154 606s ok 242 /regex/match-simple-optimized/155 606s ok 243 /regex/match-simple-optimized/156 606s ok 244 /regex/match-simple-optimized/157 606s ok 245 /regex/match-simple-optimized/158 606s ok 246 /regex/match-simple-optimized/159 606s ok 247 /regex/match-simple-optimized/160 606s ok 248 /regex/match-simple-optimized/161 606s ok 249 /regex/match-simple-optimized/162 606s ok 250 /regex/match-simple-optimized/163 606s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 606s ok 251 /regex/match-simple-optimized/164 606s # End of match-simple-optimized tests 606s # Start of match tests 606s ok 252 /regex/match/165 606s ok 253 /regex/match/166 606s ok 254 /regex/match/167 606s ok 255 /regex/match/168 606s ok 256 /regex/match/169 606s ok 257 /regex/match/170 606s ok 258 /regex/match/171 606s ok 259 /regex/match/172 606s ok 260 /regex/match/173 606s ok 261 /regex/match/174 606s ok 262 /regex/match/175 606s ok 263 /regex/match/176 606s ok 264 /regex/match/177 606s ok 265 /regex/match/178 606s ok 266 /regex/match/179 606s ok 267 /regex/match/180 606s ok 268 /regex/match/181 606s ok 269 /regex/match/182 606s ok 270 /regex/match/183 606s ok 271 /regex/match/184 606s ok 272 /regex/match/185 606s ok 273 /regex/match/186 606s ok 274 /regex/match/187 606s ok 275 /regex/match/188 606s ok 276 /regex/match/189 606s ok 277 /regex/match/190 606s ok 278 /regex/match/191 606s ok 279 /regex/match/192 606s ok 280 /regex/match/193 606s ok 281 /regex/match/194 606s ok 282 /regex/match/195 606s ok 283 /regex/match/196 606s ok 284 /regex/match/197 606s ok 285 /regex/match/198 606s ok 286 /regex/match/199 606s ok 287 /regex/match/200 606s ok 288 /regex/match/201 606s ok 289 /regex/match/202 606s ok 290 /regex/match/203 606s ok 291 /regex/match/204 606s ok 292 /regex/match/205 606s ok 293 /regex/match/206 606s ok 294 /regex/match/207 606s ok 295 /regex/match/208 606s ok 296 /regex/match/209 606s ok 297 /regex/match/210 606s ok 298 /regex/match/211 606s ok 299 /regex/match/212 606s ok 300 /regex/match/213 606s ok 301 /regex/match/214 606s ok 302 /regex/match/215 606s ok 303 /regex/match/216 606s ok 304 /regex/match/217 606s ok 305 /regex/match/218 606s ok 306 /regex/match/219 606s ok 307 /regex/match/220 606s ok 308 /regex/match/221 606s ok 309 /regex/match/222 606s ok 310 /regex/match/223 606s ok 311 /regex/match/224 606s ok 312 /regex/match/225 606s ok 313 /regex/match/226 606s ok 314 /regex/match/227 606s ok 315 /regex/match/228 606s ok 316 /regex/match/229 606s ok 317 /regex/match/230 606s ok 318 /regex/match/231 606s ok 319 /regex/match/232 606s ok 320 /regex/match/233 606s ok 321 /regex/match/234 606s ok 322 /regex/match/235 606s ok 323 /regex/match/236 606s ok 324 /regex/match/237 606s ok 325 /regex/match/238 606s ok 326 /regex/match/239 606s ok 327 /regex/match/240 606s ok 328 /regex/match/241 606s ok 329 /regex/match/242 606s ok 330 /regex/match/243 606s ok 331 /regex/match/244 606s ok 332 /regex/match/245 606s ok 333 /regex/match/246 606s ok 334 /regex/match/partial281 606s ok 335 /regex/match/partial282 606s ok 336 /regex/match/partial283 606s ok 337 /regex/match/partial284 606s ok 338 /regex/match/partial285 606s ok 339 /regex/match/partial286 606s ok 340 /regex/match/partial287 606s ok 341 /regex/match/partial288 606s ok 342 /regex/match/partial289 606s ok 343 /regex/match/partial290 606s ok 344 /regex/match/partial291 606s ok 345 /regex/match/partial292 606s ok 346 /regex/match/partial293 606s ok 347 /regex/match/partial294 606s ok 348 /regex/match/partial295 606s ok 349 /regex/match/partial296 606s ok 350 /regex/match/partial297 606s ok 351 /regex/match/partial298 606s ok 352 /regex/match/partial299 606s ok 353 /regex/match/partial300 606s ok 354 /regex/match/partial301 606s ok 355 /regex/match/partial302 606s # Start of next0 tests 606s ok 356 /regex/match/next0/247 606s ok 357 /regex/match/next0/248 606s ok 358 /regex/match/next0/249 606s ok 359 /regex/match/next0/250 606s # End of next0 tests 606s # Start of next1 tests 606s ok 360 /regex/match/next1/251 606s ok 361 /regex/match/next1/252 606s ok 362 /regex/match/next1/253 606s ok 363 /regex/match/next1/254 606s ok 364 /regex/match/next1/255 606s # End of next1 tests 606s # Start of next2 tests 606s ok 365 /regex/match/next2/256 606s ok 366 /regex/match/next2/257 606s ok 367 /regex/match/next2/258 606s ok 368 /regex/match/next2/259 606s ok 369 /regex/match/next2/260 606s ok 370 /regex/match/next2/261 606s ok 371 /regex/match/next2/262 606s ok 372 /regex/match/next2/263 606s # End of next2 tests 606s # Start of next3 tests 606s ok 373 /regex/match/next3/264 606s ok 374 /regex/match/next3/265 606s ok 375 /regex/match/next3/266 606s ok 376 /regex/match/next3/267 606s ok 377 /regex/match/next3/268 606s ok 378 /regex/match/next3/269 606s # End of next3 tests 606s # Start of next4 tests 606s ok 379 /regex/match/next4/270 606s # End of next4 tests 606s # Start of count tests 606s ok 380 /regex/match/count/271 606s ok 381 /regex/match/count/272 606s ok 382 /regex/match/count/273 606s ok 383 /regex/match/count/274 606s ok 384 /regex/match/count/275 606s ok 385 /regex/match/count/276 606s ok 386 /regex/match/count/277 606s ok 387 /regex/match/count/278 606s ok 388 /regex/match/count/279 606s ok 389 /regex/match/count/280 606s # End of count tests 606s # Start of count-optimized tests 606s ok 390 /regex/match/count-optimized/271 606s ok 391 /regex/match/count-optimized/272 606s ok 392 /regex/match/count-optimized/273 606s ok 393 /regex/match/count-optimized/274 606s ok 394 /regex/match/count-optimized/275 606s ok 395 /regex/match/count-optimized/276 606s ok 396 /regex/match/count-optimized/277 606s ok 397 /regex/match/count-optimized/278 606s ok 398 /regex/match/count-optimized/279 606s ok 399 /regex/match/count-optimized/280 606s # End of count-optimized tests 606s # Start of partial-optimized tests 606s ok 400 /regex/match/partial-optimized/281 606s ok 401 /regex/match/partial-optimized/282 606s ok 402 /regex/match/partial-optimized/283 606s ok 403 /regex/match/partial-optimized/284 606s ok 404 /regex/match/partial-optimized/285 606s ok 405 /regex/match/partial-optimized/286 606s ok 406 /regex/match/partial-optimized/287 606s ok 407 /regex/match/partial-optimized/288 606s ok 408 /regex/match/partial-optimized/289 606s ok 409 /regex/match/partial-optimized/290 606s ok 410 /regex/match/partial-optimized/291 606s ok 411 /regex/match/partial-optimized/292 606s ok 412 /regex/match/partial-optimized/293 606s ok 413 /regex/match/partial-optimized/294 606s ok 414 /regex/match/partial-optimized/295 606s ok 415 /regex/match/partial-optimized/296 606s ok 416 /regex/match/partial-optimized/297 606s ok 417 /regex/match/partial-optimized/298 606s ok 418 /regex/match/partial-optimized/299 606s ok 419 /regex/match/partial-optimized/300 606s ok 420 /regex/match/partial-optimized/301 606s ok 421 /regex/match/partial-optimized/302 606s # End of partial-optimized tests 606s # Start of subpattern tests 606s ok 422 /regex/match/subpattern/303 606s ok 423 /regex/match/subpattern/304 606s ok 424 /regex/match/subpattern/305 606s ok 425 /regex/match/subpattern/306 606s ok 426 /regex/match/subpattern/307 606s ok 427 /regex/match/subpattern/308 606s ok 428 /regex/match/subpattern/309 606s ok 429 /regex/match/subpattern/310 606s ok 430 /regex/match/subpattern/311 606s ok 431 /regex/match/subpattern/312 606s ok 432 /regex/match/subpattern/313 606s ok 433 /regex/match/subpattern/314 606s ok 434 /regex/match/subpattern/315 606s # Start of named tests 606s # Start of dupnames tests 606s ok 435 /regex/match/subpattern/named/dupnames/325 606s ok 436 /regex/match/subpattern/named/dupnames/326 606s ok 437 /regex/match/subpattern/named/dupnames/327 606s ok 438 /regex/match/subpattern/named/dupnames/328 606s ok 439 /regex/match/subpattern/named/dupnames/329 606s # End of dupnames tests 606s # End of named tests 606s # End of subpattern tests 606s # Start of subpattern-optimized tests 606s ok 440 /regex/match/subpattern-optimized/303 606s ok 441 /regex/match/subpattern-optimized/304 606s ok 442 /regex/match/subpattern-optimized/305 606s ok 443 /regex/match/subpattern-optimized/306 606s ok 444 /regex/match/subpattern-optimized/307 606s ok 445 /regex/match/subpattern-optimized/308 606s ok 446 /regex/match/subpattern-optimized/309 606s ok 447 /regex/match/subpattern-optimized/310 606s ok 448 /regex/match/subpattern-optimized/311 606s ok 449 /regex/match/subpattern-optimized/312 606s ok 450 /regex/match/subpattern-optimized/313 606s ok 451 /regex/match/subpattern-optimized/314 606s ok 452 /regex/match/subpattern-optimized/315 606s # End of subpattern-optimized tests 606s # Start of named tests 606s # Start of subpattern tests 606s ok 453 /regex/match/named/subpattern/316 606s ok 454 /regex/match/named/subpattern/317 606s ok 455 /regex/match/named/subpattern/318 606s ok 456 /regex/match/named/subpattern/319 606s ok 457 /regex/match/named/subpattern/320 606s ok 458 /regex/match/named/subpattern/321 606s ok 459 /regex/match/named/subpattern/322 606s ok 460 /regex/match/named/subpattern/323 606s ok 461 /regex/match/named/subpattern/324 606s ok 462 /regex/match/named/subpattern/330 606s ok 463 /regex/match/named/subpattern/331 606s ok 464 /regex/match/named/subpattern/332 606s ok 465 /regex/match/named/subpattern/333 606s ok 466 /regex/match/named/subpattern/334 606s # End of subpattern tests 606s # End of named tests 606s # End of match tests 606s # Start of match-optimized tests 606s ok 467 /regex/match-optimized/165 606s ok 468 /regex/match-optimized/166 606s ok 469 /regex/match-optimized/167 606s ok 470 /regex/match-optimized/168 606s ok 471 /regex/match-optimized/169 606s ok 472 /regex/match-optimized/170 606s ok 473 /regex/match-optimized/171 606s ok 474 /regex/match-optimized/172 606s ok 475 /regex/match-optimized/173 606s ok 476 /regex/match-optimized/174 606s ok 477 /regex/match-optimized/175 606s ok 478 /regex/match-optimized/176 606s ok 479 /regex/match-optimized/177 606s ok 480 /regex/match-optimized/178 606s ok 481 /regex/match-optimized/179 606s ok 482 /regex/match-optimized/180 606s ok 483 /regex/match-optimized/181 606s ok 484 /regex/match-optimized/182 606s ok 485 /regex/match-optimized/183 606s ok 486 /regex/match-optimized/184 606s ok 487 /regex/match-optimized/185 606s ok 488 /regex/match-optimized/186 606s ok 489 /regex/match-optimized/187 606s ok 490 /regex/match-optimized/188 606s ok 491 /regex/match-optimized/189 606s ok 492 /regex/match-optimized/190 606s ok 493 /regex/match-optimized/191 606s ok 494 /regex/match-optimized/192 606s ok 495 /regex/match-optimized/193 606s ok 496 /regex/match-optimized/194 606s ok 497 /regex/match-optimized/195 606s ok 498 /regex/match-optimized/196 606s ok 499 /regex/match-optimized/197 606s ok 500 /regex/match-optimized/198 606s ok 501 /regex/match-optimized/199 606s ok 502 /regex/match-optimized/200 606s ok 503 /regex/match-optimized/201 606s ok 504 /regex/match-optimized/202 606s ok 505 /regex/match-optimized/203 606s ok 506 /regex/match-optimized/204 606s ok 507 /regex/match-optimized/205 606s ok 508 /regex/match-optimized/206 606s ok 509 /regex/match-optimized/207 606s ok 510 /regex/match-optimized/208 606s ok 511 /regex/match-optimized/209 606s ok 512 /regex/match-optimized/210 606s ok 513 /regex/match-optimized/211 606s ok 514 /regex/match-optimized/212 606s ok 515 /regex/match-optimized/213 606s ok 516 /regex/match-optimized/214 606s ok 517 /regex/match-optimized/215 606s ok 518 /regex/match-optimized/216 606s ok 519 /regex/match-optimized/217 606s ok 520 /regex/match-optimized/218 606s ok 521 /regex/match-optimized/219 606s ok 522 /regex/match-optimized/220 606s ok 523 /regex/match-optimized/221 606s ok 524 /regex/match-optimized/222 606s ok 525 /regex/match-optimized/223 606s ok 526 /regex/match-optimized/224 606s ok 527 /regex/match-optimized/225 606s ok 528 /regex/match-optimized/226 606s ok 529 /regex/match-optimized/227 606s ok 530 /regex/match-optimized/228 606s ok 531 /regex/match-optimized/229 606s ok 532 /regex/match-optimized/230 606s ok 533 /regex/match-optimized/231 606s ok 534 /regex/match-optimized/232 606s ok 535 /regex/match-optimized/233 606s ok 536 /regex/match-optimized/234 606s ok 537 /regex/match-optimized/235 606s ok 538 /regex/match-optimized/236 606s ok 539 /regex/match-optimized/237 606s ok 540 /regex/match-optimized/238 606s ok 541 /regex/match-optimized/239 606s ok 542 /regex/match-optimized/240 606s ok 543 /regex/match-optimized/241 606s ok 544 /regex/match-optimized/242 606s ok 545 /regex/match-optimized/243 606s ok 546 /regex/match-optimized/244 606s ok 547 /regex/match-optimized/245 606s ok 548 /regex/match-optimized/246 606s # End of match-optimized tests 606s # Start of fetch-all0 tests 606s ok 549 /regex/fetch-all0/335 606s ok 550 /regex/fetch-all0/336 606s # End of fetch-all0 tests 606s # Start of fetch-all1 tests 606s ok 551 /regex/fetch-all1/337 606s ok 552 /regex/fetch-all1/338 606s ok 553 /regex/fetch-all1/339 606s # End of fetch-all1 tests 606s # Start of fetch-all2 tests 606s ok 554 /regex/fetch-all2/340 606s ok 555 /regex/fetch-all2/341 606s ok 556 /regex/fetch-all2/342 606s # End of fetch-all2 tests 606s # Start of fetch-all3 tests 606s ok 557 /regex/fetch-all3/343 606s ok 558 /regex/fetch-all3/344 606s ok 559 /regex/fetch-all3/345 606s ok 560 /regex/fetch-all3/346 606s ok 561 /regex/fetch-all3/347 606s # End of fetch-all3 tests 606s # Start of split tests 606s # Start of simple0 tests 606s ok 562 /regex/split/simple0/348 606s ok 563 /regex/split/simple0/349 606s ok 564 /regex/split/simple0/364 606s ok 565 /regex/split/simple0/365 606s # End of simple0 tests 606s # Start of simple1 tests 606s ok 566 /regex/split/simple1/350 606s ok 567 /regex/split/simple1/351 606s # End of simple1 tests 606s # Start of simple2 tests 606s ok 568 /regex/split/simple2/352 606s ok 569 /regex/split/simple2/358 606s ok 570 /regex/split/simple2/360 606s # End of simple2 tests 606s # Start of simple3 tests 606s ok 571 /regex/split/simple3/353 606s ok 572 /regex/split/simple3/354 606s ok 573 /regex/split/simple3/355 606s ok 574 /regex/split/simple3/356 606s ok 575 /regex/split/simple3/357 606s ok 576 /regex/split/simple3/359 606s ok 577 /regex/split/simple3/361 606s ok 578 /regex/split/simple3/362 606s ok 579 /regex/split/simple3/363 606s # End of simple3 tests 606s # End of split tests 606s # Start of split0 tests 606s ok 580 /regex/split0/366 606s ok 581 /regex/split0/368 606s # End of split0 tests 606s # Start of full-split0 tests 606s ok 582 /regex/full-split0/367 606s ok 583 /regex/full-split0/369 606s ok 584 /regex/full-split0/370 606s ok 585 /regex/full-split0/371 606s ok 586 /regex/full-split0/372 606s # End of full-split0 tests 606s # Start of split1 tests 606s ok 587 /regex/split1/373 606s ok 588 /regex/split1/376 606s # End of split1 tests 606s # Start of full-split1 tests 606s ok 589 /regex/full-split1/374 606s ok 590 /regex/full-split1/375 606s ok 591 /regex/full-split1/377 606s ok 592 /regex/full-split1/378 606s ok 593 /regex/full-split1/404 606s # End of full-split1 tests 606s # Start of split2 tests 606s ok 594 /regex/split2/379 606s ok 595 /regex/split2/383 606s ok 596 /regex/split2/395 606s # End of split2 tests 606s # Start of full-split2 tests 606s ok 597 /regex/full-split2/380 606s ok 598 /regex/full-split2/381 606s ok 599 /regex/full-split2/382 606s ok 600 /regex/full-split2/384 606s ok 601 /regex/full-split2/396 606s ok 602 /regex/full-split2/399 606s ok 603 /regex/full-split2/405 606s # End of full-split2 tests 606s # Start of split3 tests 606s ok 604 /regex/split3/385 606s ok 605 /regex/split3/387 606s ok 606 /regex/split3/389 606s ok 607 /regex/split3/391 606s ok 608 /regex/split3/393 606s ok 609 /regex/split3/397 606s ok 610 /regex/split3/400 606s ok 611 /regex/split3/402 606s # End of split3 tests 606s # Start of full-split3 tests 606s ok 612 /regex/full-split3/386 606s ok 613 /regex/full-split3/388 606s ok 614 /regex/full-split3/390 606s ok 615 /regex/full-split3/392 606s ok 616 /regex/full-split3/394 606s ok 617 /regex/full-split3/398 606s ok 618 /regex/full-split3/401 606s ok 619 /regex/full-split3/403 606s ok 620 /regex/full-split3/406 606s ok 621 /regex/full-split3/407 606s # End of full-split3 tests 606s # Start of check-repacement tests 606s ok 622 /regex/check-repacement/408 606s ok 623 /regex/check-repacement/409 606s ok 624 /regex/check-repacement/410 606s ok 625 /regex/check-repacement/411 606s ok 626 /regex/check-repacement/412 606s ok 627 /regex/check-repacement/413 606s ok 628 /regex/check-repacement/414 606s ok 629 /regex/check-repacement/415 606s # End of check-repacement tests 606s # Start of expand tests 606s ok 630 /regex/expand/416 606s ok 631 /regex/expand/417 606s ok 632 /regex/expand/418 606s ok 633 /regex/expand/419 606s ok 634 /regex/expand/420 606s ok 635 /regex/expand/421 606s ok 636 /regex/expand/422 606s ok 637 /regex/expand/423 606s ok 638 /regex/expand/424 606s ok 639 /regex/expand/425 606s ok 640 /regex/expand/426 606s ok 641 /regex/expand/427 606s ok 642 /regex/expand/428 606s ok 643 /regex/expand/429 606s ok 644 /regex/expand/430 606s ok 645 /regex/expand/431 606s ok 646 /regex/expand/432 606s ok 647 /regex/expand/433 606s ok 648 /regex/expand/434 606s ok 649 /regex/expand/435 606s ok 650 /regex/expand/436 606s ok 651 /regex/expand/437 606s ok 652 /regex/expand/438 606s ok 653 /regex/expand/439 606s ok 654 /regex/expand/440 606s ok 655 /regex/expand/441 606s ok 656 /regex/expand/442 606s ok 657 /regex/expand/443 606s ok 658 /regex/expand/444 606s ok 659 /regex/expand/445 606s ok 660 /regex/expand/446 606s ok 661 /regex/expand/447 606s ok 662 /regex/expand/448 606s ok 663 /regex/expand/449 606s ok 664 /regex/expand/450 606s ok 665 /regex/expand/451 606s ok 666 /regex/expand/452 606s ok 667 /regex/expand/453 606s ok 668 /regex/expand/454 606s ok 669 /regex/expand/455 606s ok 670 /regex/expand/456 606s ok 671 /regex/expand/457 606s ok 672 /regex/expand/458 606s ok 673 /regex/expand/459 606s ok 674 /regex/expand/460 606s ok 675 /regex/expand/461 606s ok 676 /regex/expand/462 606s ok 677 /regex/expand/463 606s ok 678 /regex/expand/464 606s ok 679 /regex/expand/465 606s ok 680 /regex/expand/466 606s ok 681 /regex/expand/467 606s ok 682 /regex/expand/468 606s ok 683 /regex/expand/469 606s ok 684 /regex/expand/470 606s ok 685 /regex/expand/471 606s ok 686 /regex/expand/472 606s ok 687 /regex/expand/473 606s ok 688 /regex/expand/474 606s ok 689 /regex/expand/475 606s ok 690 /regex/expand/476 606s ok 691 /regex/expand/477 606s ok 692 /regex/expand/478 606s ok 693 /regex/expand/479 606s ok 694 /regex/expand/480 606s ok 695 /regex/expand/481 606s # End of expand tests 606s # Start of replace tests 606s ok 696 /regex/replace/482 606s ok 697 /regex/replace/483 606s ok 698 /regex/replace/484 606s ok 699 /regex/replace/485 606s ok 700 /regex/replace/486 606s ok 701 /regex/replace/487 606s ok 702 /regex/replace/488 606s ok 703 /regex/replace/489 606s ok 704 /regex/replace/490 606s ok 705 /regex/replace/491 606s ok 706 /regex/replace/492 606s ok 707 /regex/replace/493 606s ok 708 /regex/replace/494 606s ok 709 /regex/replace/495 606s ok 710 /regex/replace/496 606s ok 711 /regex/replace/497 606s ok 712 /regex/replace/498 606s ok 713 /regex/replace/499 606s ok 714 /regex/replace/500 606s ok 715 /regex/replace/501 606s ok 716 /regex/replace/502 606s ok 717 /regex/replace/503 606s ok 718 /regex/replace/504 606s ok 719 /regex/replace/505 606s ok 720 /regex/replace/506 606s ok 721 /regex/replace/507 606s ok 722 /regex/replace/508 606s ok 723 /regex/replace/509 606s # End of replace tests 606s # Start of replace-optimized tests 606s ok 724 /regex/replace-optimized/482 606s ok 725 /regex/replace-optimized/483 606s ok 726 /regex/replace-optimized/484 606s ok 727 /regex/replace-optimized/485 606s ok 728 /regex/replace-optimized/486 606s ok 729 /regex/replace-optimized/487 606s ok 730 /regex/replace-optimized/488 606s ok 731 /regex/replace-optimized/489 606s ok 732 /regex/replace-optimized/490 606s ok 733 /regex/replace-optimized/491 606s ok 734 /regex/replace-optimized/492 606s ok 735 /regex/replace-optimized/493 606s ok 736 /regex/replace-optimized/494 606s ok 737 /regex/replace-optimized/495 606s ok 738 /regex/replace-optimized/496 606s ok 739 /regex/replace-optimized/497 606s ok 740 /regex/replace-optimized/498 606s ok 741 /regex/replace-optimized/499 606s ok 742 /regex/replace-optimized/500 606s ok 743 /regex/replace-optimized/501 606s ok 744 /regex/replace-optimized/502 606s ok 745 /regex/replace-optimized/503 606s ok 746 /regex/replace-optimized/504 606s ok 747 /regex/replace-optimized/505 606s ok 748 /regex/replace-optimized/506 606s ok 749 /regex/replace-optimized/507 606s ok 750 /regex/replace-optimized/508 606s ok 751 /regex/replace-optimized/509 606s # End of replace-optimized tests 606s # Start of replace-literally tests 606s ok 752 /regex/replace-literally/510 606s ok 753 /regex/replace-literally/511 606s ok 754 /regex/replace-literally/512 606s ok 755 /regex/replace-literally/513 606s ok 756 /regex/replace-literally/514 606s ok 757 /regex/replace-literally/515 606s ok 758 /regex/replace-literally/516 606s ok 759 /regex/replace-literally/517 606s ok 760 /regex/replace-literally/518 606s ok 761 /regex/replace-literally/519 606s ok 762 /regex/replace-literally/520 606s ok 763 /regex/replace-literally/521 606s ok 764 /regex/replace-literally/522 606s ok 765 /regex/replace-literally/523 606s ok 766 /regex/replace-literally/524 606s ok 767 /regex/replace-literally/525 606s ok 768 /regex/replace-literally/526 606s ok 769 /regex/replace-literally/527 606s ok 770 /regex/replace-literally/528 606s ok 771 /regex/replace-literally/529 606s # End of replace-literally tests 606s # Start of string-number tests 606s ok 772 /regex/string-number/530 606s ok 773 /regex/string-number/531 606s ok 774 /regex/string-number/532 606s ok 775 /regex/string-number/533 606s ok 776 /regex/string-number/534 606s ok 777 /regex/string-number/535 606s ok 778 /regex/string-number/536 606s ok 779 /regex/string-number/537 606s ok 780 /regex/string-number/538 606s ok 781 /regex/string-number/539 606s ok 782 /regex/string-number/540 606s ok 783 /regex/string-number/541 606s ok 784 /regex/string-number/542 606s ok 785 /regex/string-number/543 606s ok 786 /regex/string-number/544 606s # End of string-number tests 606s # Start of escape_nul tests 606s ok 787 /regex/escape_nul/545 606s ok 788 /regex/escape_nul/546 606s ok 789 /regex/escape_nul/547 606s ok 790 /regex/escape_nul/548 606s ok 791 /regex/escape_nul/549 606s ok 792 /regex/escape_nul/550 606s ok 793 /regex/escape_nul/551 606s ok 794 /regex/escape_nul/552 606s ok 795 /regex/escape_nul/553 606s ok 796 /regex/escape_nul/554 606s ok 797 /regex/escape_nul/555 606s ok 798 /regex/escape_nul/556 606s ok 799 /regex/escape_nul/557 606s ok 800 /regex/escape_nul/558 606s ok 801 /regex/escape_nul/559 606s # End of escape_nul tests 606s # Start of escape tests 606s ok 802 /regex/escape/560 606s ok 803 /regex/escape/561 606s ok 804 /regex/escape/562 606s ok 805 /regex/escape/563 606s ok 806 /regex/escape/564 606s ok 807 /regex/escape/565 606s ok 808 /regex/escape/566 606s ok 809 /regex/escape/567 606s ok 810 /regex/escape/568 606s ok 811 /regex/escape/569 606s ok 812 /regex/escape/570 606s ok 813 /regex/escape/571 606s ok 814 /regex/escape/572 606s ok 815 /regex/escape/573 606s ok 816 /regex/escape/574 606s ok 817 /regex/escape/575 606s ok 818 /regex/escape/576 606s ok 819 /regex/escape/577 606s # End of escape tests 606s # Start of match-all0 tests 606s ok 820 /regex/match-all0/578 606s ok 821 /regex/match-all0/580 606s # End of match-all0 tests 606s # Start of match-all-full0 tests 606s ok 822 /regex/match-all-full0/579 606s ok 823 /regex/match-all-full0/581 606s ok 824 /regex/match-all-full0/582 606s ok 825 /regex/match-all-full0/583 606s # End of match-all-full0 tests 606s # Start of match-all1 tests 606s ok 826 /regex/match-all1/584 606s ok 827 /regex/match-all1/586 606s ok 828 /regex/match-all1/591 606s # End of match-all1 tests 606s # Start of match-all-full1 tests 606s ok 829 /regex/match-all-full1/585 606s ok 830 /regex/match-all-full1/587 606s ok 831 /regex/match-all-full1/588 606s ok 832 /regex/match-all-full1/589 606s ok 833 /regex/match-all-full1/590 606s ok 834 /regex/match-all-full1/592 606s # End of match-all-full1 tests 606s # Start of match-all2 tests 606s ok 835 /regex/match-all2/593 606s ok 836 /regex/match-all2/595 606s ok 837 /regex/match-all2/597 606s # End of match-all2 tests 606s # Start of match-all-full2 tests 606s ok 838 /regex/match-all-full2/594 606s ok 839 /regex/match-all-full2/596 606s ok 840 /regex/match-all-full2/598 606s # End of match-all-full2 tests 606s # Start of match-all3 tests 606s ok 841 /regex/match-all3/599 606s ok 842 /regex/match-all3/601 606s # End of match-all3 tests 606s # Start of match-all-full3 tests 606s ok 843 /regex/match-all-full3/600 606s ok 844 /regex/match-all-full3/602 606s # End of match-all-full3 tests 606s # Start of match-notempty tests 606s ok 845 /regex/match-notempty/603 606s # End of match-notempty tests 606s # Start of match-notempty-optimized tests 606s ok 846 /regex/match-notempty-optimized/603 606s # End of match-notempty-optimized tests 606s # Start of match-notempty-atstart tests 606s ok 847 /regex/match-notempty-atstart/604 606s # End of match-notempty-atstart tests 606s # Start of match-notempty-atstart-optimized tests 606s ok 848 /regex/match-notempty-atstart-optimized/604 606s # End of match-notempty-atstart-optimized tests 606s # End of regex tests 606s ok - glib/regex.test 606s # Running test: glib/atomic-c-17.test 606s TAP version 13 606s # random seed: R02S9f95501b408811b004e04187a54518cb 606s 1..2 606s # Start of atomic tests 606s ok 1 /atomic/types 606s ok 2 /atomic/threaded 606s # End of atomic tests 606s ok - glib/atomic-c-17.test 606s # Running test: glib/defaultvalue.test 606s TAP version 13 606s # random seed: R02Se0cb4ed0208e2a8040c274a801bc5855 606s 1..84 606s # Start of Default Values tests 606s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 606s ok 2 /Default Values/GAppLaunchContext 606s ok 3 /Default Values/GApplicationCommandLine 606s # skipping GApplication:is-remote 606s ok 4 /Default Values/GApplication 606s ok 5 /Default Values/GBinding # SKIP mandatory construct params 606s ok 6 /Default Values/GBindingGroup 606s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 606s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 606s ok 9 /Default Values/GBytesIcon 606s ok 10 /Default Values/GCancellable 606s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 606s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 606s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 606s ok 14 /Default Values/GCredentials 606s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 606s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 606s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 606s ok 18 /Default Values/GDBusAuthObserver 606s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 606s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 606s ok 21 /Default Values/GDBusMessage 606s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 606s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 606s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 606s ok 25 /Default Values/GDBusObjectProxy 606s ok 26 /Default Values/GDBusObjectSkeleton 606s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 606s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 606s ok 29 /Default Values/GEmblem 606s ok 30 /Default Values/GEmblemedIcon 606s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 606s ok 32 /Default Values/GFileInfo 606s ok 33 /Default Values/GFileInputStream 606s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 606s ok 35 /Default Values/GFileOutputStream 606s ok 36 /Default Values/GFilenameCompleter 606s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 606s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 606s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 606s ok 40 /Default Values/GInitiallyUnowned 606s ok 41 /Default Values/GIOModule 606s ok 42 /Default Values/GListStore 606s ok 43 /Default Values/GMemoryInputStream 606s ok 44 /Default Values/GMemoryOutputStream 606s ok 45 /Default Values/GMenu 606s ok 46 /Default Values/GMenuItem 606s ok 47 /Default Values/GMountOperation 606s ok 48 /Default Values/GNativeSocketAddress 606s ok 49 /Default Values/GNetworkAddress 606s ok 50 /Default Values/GNetworkService 606s ok 51 /Default Values/GNotification 606s ok 52 /Default Values/GObject 606s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 606s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 606s # skipping GProxyAddressEnumerator:proxy-resolver 606s ok 54 /Default Values/GProxyAddressEnumerator 606s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 606s ok 56 /Default Values/GSettings # SKIP mandatory construct params 606s ok 57 /Default Values/GSignalGroup 606s ok 58 /Default Values/GSimpleAction 606s ok 59 /Default Values/GSimpleActionGroup 606s ok 60 /Default Values/GSimpleAsyncResult 606s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 606s ok 62 /Default Values/GSimplePermission 606s ok 63 /Default Values/GSimpleProxyResolver 606s # skipping GSocketClient:proxy-resolver 606s ok 64 /Default Values/GSocketClient 606s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 606s ok 66 /Default Values/GSocket # SKIP initialization failed 606s ok 67 /Default Values/GSocketListener 606s ok 68 /Default Values/GSocketService 606s ok 69 /Default Values/GSubprocess # SKIP initialization failed 606s ok 70 /Default Values/GSubprocessLauncher 606s # GLib-GIO-DEBUG: GTask 0xb7e486cbefa0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 606s ok 71 /Default Values/GTask 606s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 606s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 606s ok 74 /Default Values/GTestDBus 606s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 606s ok 76 /Default Values/GThreadedSocketService 606s ok 77 /Default Values/GTlsInteraction 606s ok 78 /Default Values/GTlsPassword 606s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 606s ok 80 /Default Values/GUnixFDList 606s ok 81 /Default Values/GVfs 606s ok 82 /Default Values/GVolumeMonitor 606s ok 83 /Default Values/GZlibCompressor 606s ok 84 /Default Values/GZlibDecompressor 606s # End of Default Values tests 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 606s ok - glib/defaultvalue.test 606s # Running test: glib/performance.test 606s Running test simple-construction 607s # Executing: glib/performance.test 612s # Executing: glib/performance.test 613s Millions of constructed objects per second: 14.983 613s Running test simple-construction1 615s Millions of constructed objects per second: 68.877 615s Running test complex-construction 618s # Executing: glib/performance.test 619s Millions of constructed objects per second: 5.393 619s Running test complex-construction1 622s # Executing: glib/performance.test 624s Millions of constructed objects per second: 9.805 624s Running test complex-construction2 627s # Executing: glib/performance.test 629s Millions of constructed objects per second: 11.481 629s Running test finalization 631s Millions of finalized objects per second: 3.018 631s Running test type-check 631s Million type checks per second: inf 631s Running test emit-unhandled 632s Emissions per second: 4604796 632s Running test emit-unhandled-empty 632s # Executing: glib/performance.test 633s Emissions per second: 25708429 633s Running test emit-unhandled-generic 634s Emissions per second: 6089476 634s Running test emit-unhandled-generic-empty 635s Emissions per second: 25594571 635s Running test emit-unhandled-args 636s Emissions per second: 4075357 636s Running test emit-handled 637s Emissions per second: 3199698 637s Running test emit-handled-empty 637s # Executing: glib/performance.test 638s Emissions per second: 3308757 638s Running test emit-handled-generic 640s Emissions per second: 3269594 640s Running test emit-handled-generic-empty 641s Emissions per second: 5341003 641s Running test emit-handled-args 642s Emissions per second: 2968069 642s Running test notify-unhandled 642s # Executing: glib/performance.test 643s Notify (unhandled) per second: 26763643 643s Running test notify-by-pspec-unhandled 644s Notify (unhandled) per second: 99713324 644s Running test notify-handled 645s Notify per second: 1954301 645s Running test notify-by-pspec-handled 647s Notify per second: 2084769 647s Running test property-set 647s # Executing: glib/performance.test 648s Property set per second: 9732796 648s Running test property-get 649s Property get per second: 9706310 649s Running test refcount 651s Million refs+unref per second: 27.41 651s ok - glib/performance.test 651s # Running test: glib/properties.test 651s TAP version 13 651s # random seed: R02Sb2753a9932483a072d523353ef1f7b2f 651s 1..13 651s # Start of properties tests 651s ok 1 /properties/install 651s ok 2 /properties/install-many 651s ok 3 /properties/notify 651s ok 4 /properties/notify-queue 651s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 651s ok 5 /properties/construct 651s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 651s # Test g_object_get_property with an initialized value 651s # Test g_object_get_property with an uninitialized value 651s # Test g_object_get_property with a transformable value 651s ok 6 /properties/get-property 651s ok 7 /properties/testv_with_no_properties 651s ok 8 /properties/testv_with_valid_properties 651s ok 9 /properties/testv_with_invalid_property_type 651s ok 10 /properties/testv_with_invalid_property_names 651s ok 11 /properties/testv_getv 651s ok 12 /properties/testv_notify_queue 651s # Start of set-property tests 651s # Start of variant tests 651s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 651s ok 13 /properties/set-property/variant/floating 651s # End of variant tests 651s # End of set-property tests 651s # End of properties tests 651s ok - glib/properties.test 651s # Running test: glib/g-file-info.test 651s TAP version 13 651s # random seed: R02Sbd64c9d23bce21b1e6c6649b26608c76 651s 1..6 651s # Start of g-file-info tests 651s ok 1 /g-file-info/test_g_file_info 651s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 651s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 651s ok 2 /g-file-info/xattrs 651s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 651s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 651s ok 3 /g-file-info/set-modified-date-time-precision 651s # Start of test_g_file_info tests 651s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 651s ok 4 /g-file-info/test_g_file_info/modification-time 651s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 651s ok 5 /g-file-info/test_g_file_info/access-time 651s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 651s ok 6 /g-file-info/test_g_file_info/creation-time 651s # End of test_g_file_info tests 651s # End of g-file-info tests 651s ok - glib/g-file-info.test 651s # Running test: glib/defaultiface.test 651s TAP version 13 651s # random seed: R02Sd288abdef5326960cac750830f831d41 651s 1..2 651s # Start of gobject tests 651s ok 1 /gobject/static-iface 651s ok 2 /gobject/dynamic-iface 651s # End of gobject tests 651s ok - glib/defaultiface.test 651s # Running test: glib/macros-c-11.test 651s TAP version 13 651s # random seed: R02Se173b7dfbe8088f0d095f93ed9e788cc 651s 1..4 651s # Start of C tests 651s ok 1 /C/standard-11 651s # End of C tests 651s # Start of alignof tests 651s ok 2 /alignof/fallback 651s # End of alignof tests 651s # Start of assert tests 651s ok 3 /assert/static 651s # End of assert tests 651s # Start of struct tests 651s ok 4 /struct/sizeof_member 651s # End of struct tests 651s ok - glib/macros-c-11.test 651s # Running test: glib/throws.test 651s TAP version 13 651s # random seed: R02S2bfafc9ab7058d9e7177328ba5b9a825 651s 1..3 651s # Start of throws tests 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PKNKK2/throws/invoke-gerror/.dirs/runtime 651s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 651s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 651s ok 1 /throws/invoke-gerror 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PKNKK2/throws/vfunc-can-throw-gerror/.dirs/runtime 651s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 651s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 651s ok 2 /throws/vfunc-can-throw-gerror 651s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/home 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/cache 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/system-config2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/config 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/system-data2 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/data 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/state 651s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PKNKK2/throws/callback-can-throw-gerror/.dirs/runtime 651s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 651s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 651s ok 3 /throws/callback-can-throw-gerror 651s # End of throws tests 651s ok - glib/throws.test 651s # Running test: glib/closure-refcount.test 651s TAP version 13 651s # random seed: R02Sc1e89166e1a7d5905840e920ef5b017a 651s 1..1 651s # Start of closure tests 651s # Init 0xbdeb250c21e0 651s # Yielding from main thread 651s # Yielding from thread1 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from thread1 651s # Yielding from main thread 651s # Yielding from main thread 652s # Yielding from thread1 652s # Yielding from thread2 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Stopping 652s # Stopped 652s ok 1 /closure/refcount 652s # End of closure tests 652s ok - glib/closure-refcount.test 652s # Running test: glib/rcbox.test 652s TAP version 13 652s # random seed: R02Sa598aa20038cf9cd66ad36ff210b7868 652s 1..8 652s # Start of rcbox tests 652s ok 1 /rcbox/new 652s # global_point = 0xc1c62ca6c8d0 652s ok 2 /rcbox/release-full 652s # global_point_a = 0xc1c62ca6c8d0 652s # global_point_b = 0xc1c62ca6c890 652s ok 3 /rcbox/dup 652s ok 4 /rcbox/alignment 652s # End of rcbox tests 652s # Start of atomic-rcbox tests 652s ok 5 /atomic-rcbox/new 652s # global_point = 0xc1c62ca6caa0 652s ok 6 /atomic-rcbox/release-full 652s # global_point_a = 0xc1c62ca6caa0 652s # global_point_b = 0xc1c62ca6ca60 652s ok 7 /atomic-rcbox/dup 652s ok 8 /atomic-rcbox/alignment 652s # End of atomic-rcbox tests 652s ok - glib/rcbox.test 652s # Running test: glib/sandbox.test 652s TAP version 13 652s # random seed: R02S0c28d371653b26b692010bef9af8f16e 652s 1..4 652s # Start of sandbox tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MUBVK2/sandbox/none/.dirs/runtime 652s ok 1 /sandbox/none 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MUBVK2/sandbox/snap/.dirs/runtime 652s # Created snap.yaml in /tmp/test_sandbox_MUBVK2/snap/current/meta/snap.yaml 652s ok 2 /sandbox/snap 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MUBVK2/sandbox/classic-snap/.dirs/runtime 652s # Created snap.yaml in /tmp/test_sandbox_MUBVK2/snap/current/meta/snap.yaml 652s ok 3 /sandbox/classic-snap 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/runtime 652s # Creating .flatpak-info in /tmp/test_sandbox_MUBVK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 652s ok 4 /sandbox/flatpak 652s # End of sandbox tests 652s ok - glib/sandbox.test 652s # Running test: glib/bytes.test 652s TAP version 13 652s # random seed: R02Sa0f0bc5acaf238c5e6203b7dac1bffc1 652s 1..21 652s # Start of bytes tests 652s ok 1 /bytes/new 652s ok 2 /bytes/new-take 652s ok 3 /bytes/new-static 652s ok 4 /bytes/new-with-free-func 652s ok 5 /bytes/new-from-bytes 652s ok 6 /bytes/new-from-bytes-slice 652s ok 7 /bytes/new-from-bytes-shared-ref 652s ok 8 /bytes/hash 652s ok 9 /bytes/equal 652s ok 10 /bytes/compare 652s ok 11 /bytes/null 652s ok 12 /bytes/get-region 652s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 652s ok 13 /bytes/unref-null 652s # Start of to-data tests 652s ok 14 /bytes/to-data/transferred 652s ok 15 /bytes/to-data/two-refs 652s ok 16 /bytes/to-data/non-malloc 652s ok 17 /bytes/to-data/different-free-func 652s # End of to-data tests 652s # Start of to-array tests 652s ok 18 /bytes/to-array/transferred 652s ok 19 /bytes/to-array/two-refs 652s ok 20 /bytes/to-array/non-malloc 652s # Start of transferred tests 652s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 652s ok 21 /bytes/to-array/transferred/oversize 652s # End of transferred tests 652s # End of to-array tests 652s # End of bytes tests 652s ok - glib/bytes.test 652s # Running test: glib/timeout.test 652s TAP version 13 652s # random seed: R02S91c80638e79f8742affc367920042dd0 652s 1..5 652s # Start of timeout tests 652s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 652s # Executing: glib/timeout.test 654s ok 1 /timeout/seconds 654s # slow test /timeout/seconds executed in 2.10 secs 656s ok 2 /timeout/seconds-once 656s # slow test /timeout/seconds-once executed in 2.10 secs 656s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 657s # Executing: glib/timeout.test 658s ok 3 /timeout/weeks-overflow 658s # slow test /timeout/weeks-overflow executed in 2.10 secs 658s ok 4 /timeout/far-future-ready-time 662s # Executing: glib/timeout.test 667s # Executing: glib/timeout.test 668s ok 5 /timeout/rounding 668s # slow test /timeout/rounding executed in 10.47 secs 668s # End of timeout tests 668s ok - glib/timeout.test 668s # Running test: glib/cxx-14.test 669s TAP version 13 669s # random seed: R02Sdf1d3a8c44587c191d89d32ecb53f775 669s 1..2 669s # Start of gtask tests 669s # 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. 669s ok 1 /gtask/name 669s # Start of name tests 669s # 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. 669s ok 2 /gtask/name/macro-wrapper 669s # End of name tests 669s # End of gtask tests 669s ok - glib/cxx-14.test 669s # Running test: glib/repository.test 669s TAP version 13 669s # random seed: R02Sf32aa2b17c6200889eba3948c3c333e9 669s 1..21 669s # Start of repository tests 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/basic/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/basic/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/basic/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/basic/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/basic/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/basic/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/basic/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/basic/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/basic/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/basic/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 669s ok 1 /repository/basic 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/info/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/info/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/info/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/info/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/info/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/info/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/info/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/info/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/info/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/info/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/info summary: Test retrieving some basic info blobs from a typelib 669s ok 2 /repository/info 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/dependencies/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/dependencies/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/dependencies/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 669s ok 3 /repository/dependencies 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/arg-info/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/arg-info/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/arg-info/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 669s ok 4 /repository/arg-info 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/callable-info/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/callable-info/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/callable-info/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 669s ok 5 /repository/callable-info 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/callback-info/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/callback-info/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/callback-info/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 669s ok 6 /repository/callback-info 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/char-types/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/char-types/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/char-types/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 669s ok 7 /repository/char-types 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/constructor-return-type/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 669s ok 8 /repository/constructor-return-type 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/enum-info-c-identifier/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 669s ok 9 /repository/enum-info-c-identifier 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/enum-info-static-methods/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/enum-info-static-methods summary: Test an enum with methods 669s ok 10 /repository/enum-info-static-methods 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/error-quark/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/error-quark/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/error-quark/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/error-quark summary: Test finding an error quark by error domain 669s ok 11 /repository/error-quark 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/flags-info-c-identifier/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 669s ok 12 /repository/flags-info-c-identifier 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/fundamental-ref-func/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 669s ok 13 /repository/fundamental-ref-func 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/instance-method-ownership-transfer/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 669s ok 14 /repository/instance-method-ownership-transfer 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/object-gtype-interfaces/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 669s ok 15 /repository/object-gtype-interfaces 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/signal-info-with-array-length-arg/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 669s ok 16 /repository/signal-info-with-array-length-arg 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/type-info-name/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 669s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 669s ok 17 /repository/type-info-name 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 669s ok 18 /repository/vfunc-info-with-no-invoker 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 669s ok 19 /repository/vfunc-info-with-invoker-on-interface 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 669s ok 20 /repository/vfunc-info-with-invoker-on-object 669s # Start of base-info tests 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CZFVK2/repository/base-info/clear/.dirs/runtime 669s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 669s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 669s ok 21 /repository/base-info/clear 669s # End of base-info tests 669s # End of repository tests 669s ok - glib/repository.test 669s # Running test: glib/gdbus-proxy-threads.test 669s TAP version 13 669s # random seed: R02S8a77e8469be4cb3aba2a5c69d7502e83 669s 1..1 669s # Start of gdbus tests 669s # Start of proxy tests 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_VV9TK2/gdbus/proxy/vs-threads/.dirs/runtime 669s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 670s ok 1 /gdbus/proxy/vs-threads 670s # slow test /gdbus/proxy/vs-threads executed in 0.80 secs 670s # End of proxy tests 670s # End of gdbus tests 670s ok - glib/gdbus-proxy-threads.test 670s cleaning up pid 4684 670s # Running test: glib/messages-low-memory.py.test 670s TAP version 13 670s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 670s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 670s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 670s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 670s # Return code: -6 670s # Output: 670s # Error: GLib-Message: 18:28:58.132: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 670s # GLib-Message: 18:28:58.132: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 670s # ../../../glib/gprintf.c:350: failed to allocate memory 670s 1..1 670s ok - glib/messages-low-memory.py.test 670s # Running test: glib/gdbus-connection-slow.test 670s TAP version 13 670s # random seed: R02Sdeaf9aa16280e3412abd1b37e5f19b50 670s 1..2 670s # Start of gdbus tests 670s # Start of connection tests 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/flush/.dirs/runtime 670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s ok 1 /gdbus/connection/flush 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_OKXVK2/gdbus/connection/large_message/.dirs/runtime 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 670s ok 2 /gdbus/connection/large_message 670s # End of connection tests 670s # End of gdbus tests 670s ok - glib/gdbus-connection-slow.test 670s # Running test: glib/deprecated-properties.test 670s TAP version 13 670s # random seed: R02S2da0ffc3b942eed08cd2e3ba617953d6 670s 1..3 670s # Start of deprecated-properties tests 670s ok 1 /deprecated-properties/construct 670s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 670s ok 2 /deprecated-properties/default-construct 670s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 670s ok 3 /deprecated-properties/set 670s # End of deprecated-properties tests 670s ok - glib/deprecated-properties.test 670s # Running test: glib/cmph-bdz.test 670s TAP version 13 670s # random seed: R02Se54ac046f52cb6d24a99f4c2a2c248ff 670s 1..2 670s # Start of cmph-bdz tests 670s ok 1 /cmph-bdz/search 670s ok 2 /cmph-bdz/search-packed 670s # End of cmph-bdz tests 670s ok - glib/cmph-bdz.test 670s # Running test: glib/gdbus-address-get-session.test 670s TAP version 13 670s # random seed: R02S48d5181440eda443973987fd9eecb6bc 670s 1..2 670s # Start of gdbus tests 670s ok 1 /gdbus/x11-autolaunch 670s ok 2 /gdbus/xdg-runtime 670s # End of gdbus tests 670s ok - glib/gdbus-address-get-session.test 670s # Running test: glib/tls-bindings.test 670s TAP version 13 670s # random seed: R02S360a15936ed2984c5835cd3c8b42abcb 670s 1..2 670s # Start of tls-connection tests 670s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 670s ok 1 /tls-connection/get-tls-channel-binding 670s ok 2 /tls-connection/get-dtls-channel-binding 670s # End of tls-connection tests 670s ok - glib/tls-bindings.test 670s # Running test: glib/shell.test 670s TAP version 13 670s # random seed: R02S947a0875de4eae3331a67d7bc1ac912b 670s 1..51 670s # Start of shell tests 670s # Start of cmdline tests 670s test cmdline: foo bar 670s ok 1 /shell/cmdline/0 670s test cmdline: foo 'bar' 670s ok 2 /shell/cmdline/1 670s test cmdline: foo "bar" 670s ok 3 /shell/cmdline/2 670s test cmdline: foo '' 'bar' 670s ok 4 /shell/cmdline/3 670s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 670s ok 5 /shell/cmdline/4 670s test cmdline: foo blah foo bar baz 670s ok 6 /shell/cmdline/5 670s test cmdline: foo ' spaces more spaces lots of spaces in this ' 670s ok 7 /shell/cmdline/6 670s test cmdline: foo \ 670s bar 670s ok 8 /shell/cmdline/7 670s test cmdline: foo '' '' 670s ok 9 /shell/cmdline/8 670s test cmdline: foo \" la la la 670s ok 10 /shell/cmdline/9 670s test cmdline: foo \ foo woo woo\ 670s ok 11 /shell/cmdline/10 670s test cmdline: foo "yada yada \$\"" 670s ok 12 /shell/cmdline/11 670s test cmdline: foo "c:\\" 670s ok 13 /shell/cmdline/12 670s test cmdline: foo # bla bla bla 670s bar 670s ok 14 /shell/cmdline/13 670s test cmdline: foo a#b 670s ok 15 /shell/cmdline/14 670s test cmdline: #foo 670s ok 16 /shell/cmdline/15 670s test cmdline: foo bar \ 670s ok 17 /shell/cmdline/16 670s test cmdline: foo 'bar baz 670s ok 18 /shell/cmdline/17 670s test cmdline: foo '"bar" baz 670s ok 19 /shell/cmdline/18 670s test cmdline: 670s ok 20 /shell/cmdline/19 670s test cmdline: 670s ok 21 /shell/cmdline/20 670s test cmdline: # foo bar 670s ok 22 /shell/cmdline/21 670s test cmdline: foo '/bar/summer'\''09 tours.pdf' 670s ok 23 /shell/cmdline/22 670s # End of cmdline tests 670s # Start of quote tests 670s ok 24 /shell/quote/0 670s ok 25 /shell/quote/1 670s ok 26 /shell/quote/2 670s ok 27 /shell/quote/3 670s ok 28 /shell/quote/4 670s ok 29 /shell/quote/5 670s ok 30 /shell/quote/6 670s # End of quote tests 670s # Start of unquote tests 670s ok 31 /shell/unquote/0 670s ok 32 /shell/unquote/1 670s ok 33 /shell/unquote/2 670s ok 34 /shell/unquote/3 670s ok 35 /shell/unquote/4 670s ok 36 /shell/unquote/5 670s ok 37 /shell/unquote/6 670s ok 38 /shell/unquote/7 670s ok 39 /shell/unquote/8 670s ok 40 /shell/unquote/9 670s ok 41 /shell/unquote/10 670s ok 42 /shell/unquote/11 670s ok 43 /shell/unquote/12 670s ok 44 /shell/unquote/13 670s ok 45 /shell/unquote/14 670s ok 46 /shell/unquote/15 670s ok 47 /shell/unquote/16 670s ok 48 /shell/unquote/17 670s ok 49 /shell/unquote/18 670s ok 50 /shell/unquote/19 670s ok 51 /shell/unquote/20 670s # End of unquote tests 670s # End of shell tests 670s ok - glib/shell.test 670s # Running test: glib/signals-refcount2.test 670s TAP version 13 670s # random seed: R02S947b458f8dfe6b3da57acc8325aedfab 670s 1..1 670s # Start of gobject tests 670s # Start of refcount tests 670s # init 0xb99135b91430 670s # 670s # init 0xb99135b915d0 670s # 672s # Executing: glib/signals-refcount2.test 675s # dispose 0xb99135b91430! 675s # 675s # dispose 0xb99135b915d0! 675s # 675s ok 1 /gobject/refcount/signals 675s # slow test /gobject/refcount/signals executed in 5.01 secs 675s # End of refcount tests 675s # End of gobject tests 675s ok - glib/signals-refcount2.test 675s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 675s TAP version 13 675s # random seed: R02S46c5b5f5c7c89c900da5d0a17c83c787 675s 1..8 675s # Start of gdbus tests 675s # Start of codegen tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/annotations/.dirs/runtime 675s ok 1 /gdbus/codegen/annotations 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/interface_stability/.dirs/runtime 675s ok 2 /gdbus/codegen/interface_stability 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/object-manager/.dirs/runtime 675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 676s ok 3 /gdbus/codegen/object-manager 676s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/home 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/cache 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/system-config2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/config 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/system-data2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/data 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/state 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/property-naming/.dirs/runtime 676s ok 4 /gdbus/codegen/property-naming 676s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/home 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/cache 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/system-config2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/config 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/system-data2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/data 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/state 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/autocleanups/.dirs/runtime 676s ok 5 /gdbus/codegen/autocleanups 676s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/home 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/cache 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/system-config2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/config 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/system-data2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/data 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/state 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/deprecations/.dirs/runtime 676s ok 6 /gdbus/codegen/deprecations 676s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/home 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/cache 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/config 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/data 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/state 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 676s ok 7 /gdbus/codegen/standalone-interface-info 676s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/home 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/cache 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/config 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/data 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/state 676s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1CGPK2/gdbus/codegen/unix-fd-list/.dirs/runtime 676s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 676s ok 8 /gdbus/codegen/unix-fd-list 676s # End of codegen tests 676s # End of gdbus tests 676s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 676s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 676s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 676s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 676s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 676s ok - glib/gdbus-test-codegen-min-required-2-64.test 676s # Running test: glib/properties-refcount3.test 676s TAP version 13 676s # random seed: R02Sa20330e3c82fe257ae980fe3fb4f13e3 676s 1..1 676s # Start of gobject tests 676s # Start of refcount tests 677s # Executing: glib/properties-refcount3.test 683s # Executing: glib/properties-refcount3.test 687s # Executing: glib/properties-refcount3.test 692s # Executing: glib/properties-refcount3.test 697s # Executing: glib/properties-refcount3.test 703s # Executing: glib/properties-refcount3.test 706s # 706s # stopping 706s # 706s # stopped 706s # 706s # 30127867 352237 706s # 706s ok 1 /gobject/refcount/properties-3 706s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 706s # End of refcount tests 706s # End of gobject tests 706s ok - glib/properties-refcount3.test 706s # Running test: glib/markup.test 706s TAP version 13 706s # random seed: R02Sb5b9e63f0589cbadccca630520550e6f 706s 1..1 706s # Start of markup tests 706s ok 1 /markup/stack 706s # End of markup tests 706s ok - glib/markup.test 706s # Running test: glib/unix.test 706s TAP version 13 706s # random seed: R02Sa1ae954e7024a53871c0ee13b58e8a47 706s 1..17 706s # Start of glib-unix tests 706s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 706s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 706s ok 1 /glib-unix/closefrom 706s ok 2 /glib-unix/pipe 706s # /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 706s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 706s ok 3 /glib-unix/pipe-stdio-overwrite 706s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 706s ok 4 /glib-unix/pipe-struct 706s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 706s ok 5 /glib-unix/pipe-struct-auto 706s ok 6 /glib-unix/error 706s ok 7 /glib-unix/nonblocking 706s ok 8 /glib-unix/sighup 706s # slow test /glib-unix/sighup executed in 0.50 secs 707s ok 9 /glib-unix/sigterm 707s # slow test /glib-unix/sigterm executed in 0.50 secs 707s ok 10 /glib-unix/sighup_again 707s # slow test /glib-unix/sighup_again executed in 0.50 secs 707s ok 11 /glib-unix/sighup_add_remove 707s ok 12 /glib-unix/sighup_nested 707s # Executing: glib/unix.test 709s ok 13 /glib-unix/callback_after_signal 709s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 709s ok 14 /glib-unix/child-wait 709s # Start of closefrom tests 709s # Start of subprocess tests 709s # End of subprocess tests 709s # End of closefrom tests 709s # Start of pipe tests 709s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 709s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 709s ok 15 /glib-unix/pipe/fd-cloexec 709s # End of pipe tests 709s # Start of get-passwd-entry tests 709s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 709s ok 16 /glib-unix/get-passwd-entry/root 709s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 709s ok 17 /glib-unix/get-passwd-entry/nonexistent 709s # End of get-passwd-entry tests 709s # End of glib-unix tests 709s ok - glib/unix.test 709s # Running test: glib/gdbus-server-auth.test 709s TAP version 13 709s # random seed: R02S91076f1d32a61917b0f46d04a2a64eb2 709s 1..9 709s # Start of gdbus tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/.dirs/runtime 709s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-131IK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 709s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-131IK2/dbus-8bVoTR6K 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5010 709s ok 1 /gdbus/server-auth 709s # Start of server-auth tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/abstract/.dirs/runtime 709s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-4GFSK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 709s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-4GFSK2/dbus-vf6dgOXd 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 709s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 709s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5010 709s ok 2 /gdbus/server-auth/abstract 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/tcp/.dirs/runtime 709s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 709s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/.dirs/runtime 709s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-TQTSK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 709s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-TQTSK2/dbus-9XdOGdnM 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5010 709s ok 4 /gdbus/server-auth/anonymous 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/.dirs/runtime 709s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-67CTK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 709s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-67CTK2/dbus-46vjdqNd 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5010 709s ok 5 /gdbus/server-auth/external 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/.dirs/runtime 709s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-CT3QK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 709s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 709s # Start of anonymous tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 709s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 709s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 709s # End of anonymous tests 709s # Start of external tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 709s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-NP3QK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 709s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_551IK2/gdbus-server-auth-NP3QK2/dbus-gL6xx2pP 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5010 709s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 709s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 709s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 709s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5010,uid=1000,gid=1000 709s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5010 709s ok 8 /gdbus/server-auth/external/require-same-user 709s # End of external tests 709s # Start of sha1 tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_551IK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 709s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 709s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 709s # End of sha1 tests 709s # End of server-auth tests 709s # End of gdbus tests 709s ok - glib/gdbus-server-auth.test 709s # Running test: glib/pollable.test 709s TAP version 13 709s # random seed: R02S9d4775121361dcc4f9b7ecf674b8821d 709s 1..6 709s # Start of pollable tests 709s ok 1 /pollable/converter 709s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 709s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc72e3339a770 and GSocketClientAsyncConnectData 0xc72e3338dae0 709s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 709s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 709s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc72e3339b830 for GSocketClientAsyncConnectData 0xc72e3338dae0 709s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 709s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 709s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 709s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 709s ok 2 /pollable/socket 709s # Start of unix tests 709s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 709s ok 3 /pollable/unix/pipe 709s # /pollable/unix/pty summary: Test that PTYs are considered pollable 709s ok 4 /pollable/unix/pty 709s # /pollable/unix/file summary: Test that regular files are not considered pollable 709s ok 5 /pollable/unix/file 709s # /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 709s ok 6 /pollable/unix/nulldev 709s # End of unix tests 709s # End of pollable tests 709s ok - glib/pollable.test 709s # Running test: glib/slist.test 709s TAP version 13 709s # random seed: R02Sf9a33a476794eb832ed53e76fc8ff9d6 709s 1..14 709s # Start of slist tests 709s ok 1 /slist/sort 709s ok 2 /slist/sort-with-data 709s ok 3 /slist/insert-sorted 709s ok 4 /slist/insert-sorted-with-data 709s ok 5 /slist/reverse 709s ok 6 /slist/nth 709s ok 7 /slist/remove 709s ok 8 /slist/remove-all 709s ok 9 /slist/insert 709s ok 10 /slist/position 709s ok 11 /slist/concat 709s ok 12 /slist/copy 709s # Start of sort tests 709s ok 13 /slist/sort/stable 709s # End of sort tests 709s # Start of copy tests 709s ok 14 /slist/copy/deep 709s # End of copy tests 709s # End of slist tests 709s ok - glib/slist.test 709s # Running test: glib/dataset.test 709s TAP version 13 709s # random seed: R02S694525323419c7d6c07430d9804cea7c 709s 1..14 709s # Start of quark tests 709s ok 1 /quark/basic 709s ok 2 /quark/string 709s # End of quark tests 709s # Start of dataset tests 709s ok 3 /dataset/basic 709s ok 4 /dataset/id 709s ok 5 /dataset/full 709s ok 6 /dataset/foreach 709s ok 7 /dataset/destroy 709s # End of dataset tests 709s # Start of datalist tests 709s ok 8 /datalist/basic 709s ok 9 /datalist/id 709s ok 10 /datalist/recursive-clear 709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 709s ok 11 /datalist/id-remove-multiple 709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 709s ok 12 /datalist/id-remove-multiple-destroy-order 709s ok 13 /datalist/update-atomic 709s # Start of id-remove-multiple tests 709s ok 14 /datalist/id-remove-multiple/resize 709s # End of id-remove-multiple tests 709s # End of datalist tests 709s ok - glib/dataset.test 709s # Running test: glib/tls-database.test 709s TAP version 13 709s # random seed: R02S1aea8d0821b0a77deaf36dccb9b19c6e 709s 1..1 709s # Start of tls-backend tests 709s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 709s ok 1 /tls-backend/set-default-database 709s # End of tls-backend tests 709s ok - glib/tls-database.test 709s # Running test: glib/file.test 709s TAP version 13 709s # random seed: R02S1e382095cc27fc34cfe2f0c1cd2c9f9f 709s 1..50 709s # Start of file tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/basic/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/basic/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/basic/.dirs/system-config1:/tmp/test_file_6UDQK2/file/basic/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/basic/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/basic/.dirs/system-data1:/tmp/test_file_6UDQK2/file/basic/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/basic/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/basic/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/basic/.dirs/runtime 709s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 709s ok 1 /file/basic 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/build-filename/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/build-filename/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/build-filename/.dirs/system-config1:/tmp/test_file_6UDQK2/file/build-filename/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/build-filename/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/build-filename/.dirs/system-data1:/tmp/test_file_6UDQK2/file/build-filename/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/build-filename/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/build-filename/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/build-filename/.dirs/runtime 709s ok 2 /file/build-filename 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_6UDQK2/file/build-filenamev/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_6UDQK2/file/build-filenamev/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/build-filenamev/.dirs/runtime 709s ok 3 /file/build-filenamev 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/parent/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/parent/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/parent/.dirs/system-config1:/tmp/test_file_6UDQK2/file/parent/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/parent/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/parent/.dirs/system-data1:/tmp/test_file_6UDQK2/file/parent/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/parent/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/parent/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/parent/.dirs/runtime 709s ok 4 /file/parent 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/child/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/child/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/child/.dirs/system-config1:/tmp/test_file_6UDQK2/file/child/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/child/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/child/.dirs/system-data1:/tmp/test_file_6UDQK2/file/child/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/child/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/child/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/child/.dirs/runtime 709s ok 5 /file/child 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/empty-path/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/empty-path/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/empty-path/.dirs/system-config1:/tmp/test_file_6UDQK2/file/empty-path/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/empty-path/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/empty-path/.dirs/system-data1:/tmp/test_file_6UDQK2/file/empty-path/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/empty-path/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/empty-path/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/empty-path/.dirs/runtime 709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 709s # /file/empty-path summary: Check that creating a file with an empty path results in errors 709s ok 6 /file/empty-path 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/type/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/type/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/type/.dirs/system-config1:/tmp/test_file_6UDQK2/file/type/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/type/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/type/.dirs/system-data1:/tmp/test_file_6UDQK2/file/type/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/type/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/type/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/type/.dirs/runtime 709s ok 7 /file/type 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/parse-name/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/parse-name/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/parse-name/.dirs/system-config1:/tmp/test_file_6UDQK2/file/parse-name/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/parse-name/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/parse-name/.dirs/system-data1:/tmp/test_file_6UDQK2/file/parse-name/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/parse-name/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/parse-name/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/parse-name/.dirs/runtime 709s ok 8 /file/parse-name 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/replace-load/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/replace-load/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/replace-load/.dirs/system-config1:/tmp/test_file_6UDQK2/file/replace-load/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/replace-load/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/replace-load/.dirs/system-data1:/tmp/test_file_6UDQK2/file/replace-load/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/replace-load/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/replace-load/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/replace-load/.dirs/runtime 709s ok 9 /file/replace-load 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_6UDQK2/file/replace-cancel/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_6UDQK2/file/replace-cancel/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/replace-cancel/.dirs/runtime 709s # Bug Reference: https://bugzilla.gnome.org/629301 709s ok 10 /file/replace-cancel 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_6UDQK2/file/replace-symlink/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_6UDQK2/file/replace-symlink/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/replace-symlink/.dirs/runtime 709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 709s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 709s # Using temporary directory /tmp/test_file_6UDQK2/g_file_replace_symlink_0TNQK2 709s ok 11 /file/replace-symlink 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-new-tmp/.dirs/runtime 710s ok 12 /file/async-new-tmp 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-new-tmp-dir/.dirs/runtime 710s ok 13 /file/async-new-tmp-dir 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-delete/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-delete/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-delete/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-delete/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-delete/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-delete/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-delete/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-delete/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-delete/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-delete/.dirs/runtime 710s ok 14 /file/async-delete 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-make-symlink/.dirs/runtime 710s ok 15 /file/async-make-symlink 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/copy-preserve-mode/.dirs/runtime 710s # Current umask: 2 710s # Vector 0 710s # Vector 1 710s # Vector 2 710s # Vector 3 710s # Vector 4 710s # Vector 5 710s # Vector 6 710s # Vector 7 710s # Vector 8 710s # Vector 9 710s # Vector 10 710s ok 16 /file/copy-preserve-mode 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/measure/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/measure/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/measure/.dirs/system-config1:/tmp/test_file_6UDQK2/file/measure/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/measure/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/measure/.dirs/system-data1:/tmp/test_file_6UDQK2/file/measure/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/measure/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/measure/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/measure/.dirs/runtime 710s ok 17 /file/measure 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/measure-async/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/measure-async/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/measure-async/.dirs/system-config1:/tmp/test_file_6UDQK2/file/measure-async/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/measure-async/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/measure-async/.dirs/system-data1:/tmp/test_file_6UDQK2/file/measure-async/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/measure-async/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/measure-async/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/measure-async/.dirs/runtime 710s ok 18 /file/measure-async 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_6UDQK2/file/load-bytes/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_6UDQK2/file/load-bytes/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/load-bytes/.dirs/runtime 710s ok 19 /file/load-bytes 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/load-bytes-async/.dirs/runtime 710s ok 20 /file/load-bytes-async 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/.dirs/runtime 710s ok 21 /file/writev 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/build-attribute-list-for-copy/.dirs/runtime 710s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 710s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 710s # 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::* 710s # 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::* 710s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 710s # Attributes for copy: standard::size,xattr::* 710s # Attributes for copy: standard::size,unix::mode,xattr::* 710s ok 22 /file/build-attribute-list-for-copy 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/move_async/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/move_async/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/move_async/.dirs/system-config1:/tmp/test_file_6UDQK2/file/move_async/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/move_async/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/move_async/.dirs/system-data1:/tmp/test_file_6UDQK2/file/move_async/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/move_async/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/move_async/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/move_async/.dirs/runtime 710s ok 23 /file/move_async 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/query-zero-length-content-type/.dirs/runtime 710s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 710s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 710s ok 24 /file/query-zero-length-content-type 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/runtime 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/data/applications 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/config 710s ok 25 /file/query-default-handler-file 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/runtime 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/data/applications 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/config 710s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6UDQK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/config 710s ok 26 /file/query-default-handler-file-async 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/runtime 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/data/applications 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/config 710s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6UDQK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/config 710s ok 27 /file/query-default-handler-uri 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/runtime 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/data/applications 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/config 710s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6UDQK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/config 710s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6UDQK2/file/query-default-handler-uri-async/.dirs/config 710s ok 28 /file/query-default-handler-uri-async 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/enumerator-cancellation/.dirs/runtime 710s ok 29 /file/enumerator-cancellation 710s # Start of async-create-delete tests 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-create-delete/0/.dirs/runtime 710s ok 30 /file/async-create-delete/0 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-create-delete/1/.dirs/runtime 710s ok 31 /file/async-create-delete/1 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-create-delete/10/.dirs/runtime 710s ok 32 /file/async-create-delete/10 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-create-delete/25/.dirs/runtime 710s ok 33 /file/async-create-delete/25 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/async-create-delete/4096/.dirs/runtime 710s ok 34 /file/async-create-delete/4096 710s # End of async-create-delete tests 710s # Start of replace-symlink tests 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/replace-symlink/using-etag/.dirs/runtime 710s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 710s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 710s # Using temporary directory /tmp/test_file_6UDQK2/g_file_replace_symlink_using_etag_2O41K2 712s ok 35 /file/replace-symlink/using-etag 712s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 712s # End of replace-symlink tests 712s # Start of replace tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_6UDQK2/file/replace/write-only/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_6UDQK2/file/replace/write-only/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/replace/write-only/.dirs/runtime 712s # /file/replace/write-only summary: Test various situations for g_file_replace() 712s # Current umask: 2 712s # Test 0, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_P151K2 712s # Test 1, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_6S51K2 712s # Test 2, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_25M2K2 712s # Test 3, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_RFM2K2 712s # Test 4, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_0AM2K2 712s # Test 5, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_N3L2K2 712s # Test 6, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_WNO2K2 712s # Test 7, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_YNH2K2 712s # Test 8, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_OMF2K2 712s # Test 9, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_EFF2K2 712s # Test 10, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_64K2K2 712s # Test 11, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_0UZ2K2 712s # Test 12, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_ZRZ2K2 712s # Test 13, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_XKZ2K2 712s # Test 14, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_4SY2K2 712s # Test 15, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_7P12K2 712s # Test 16, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_G8S2K2 712s # Test 17, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_OHS2K2 712s # Test 18, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_K6U2K2 712s # Test 19, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_4ND3K2 712s # Test 20, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_RTG3K2 712s # Test 21, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_2E62K2 712s # Test 22, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_FO42K2 712s # Test 23, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_OS42K2 712s # Test 24, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_8AA3K2 712s # Test 25, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_87V0K2 712s # Test 26, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_80V0K2 712s # Test 27, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_T6V0K2 712s # Test 28, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_AGV0K2 712s # Test 29, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_2QZ0K2 712s # Test 30, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_4ZX0K2 712s # Test 31, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_EPX0K2 712s # Test 32, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_JSQ0K2 712s # Test 33, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_9BO0K2 712s # Test 34, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_I3N0K2 712s # Test 35, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_HVN0K2 712s # Test 36, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_6UT0K2 712s # Test 37, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_JZ80K2 712s # Test 38, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_R060K2 712s # Test 39, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_UIC1K2 712s # Test 40, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_G720K2 712s # Test 41, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_5L50K2 712s # Test 42, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_XH60K2 712s # Test 43, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_JLL1K2 712s # Test 44, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_HFJ1K2 712s # Test 45, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_QKJ1K2 712s # Test 46, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_BEP1K2 712s # Test 47, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_K5O1K2 712s # Test 48, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_XXE1K2 712s # We do not have CAP_DAC_OVERRIDE or equivalent 712s ok 36 /file/replace/write-only 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_6UDQK2/file/replace/read-write/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_6UDQK2/file/replace/read-write/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/replace/read-write/.dirs/runtime 712s # /file/replace/read-write summary: Test various situations for g_file_replace() 712s # Current umask: 2 712s # Test 0, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_L3F1K2 712s # Test 1, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_F7F1K2 712s # Test 2, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_SEI1K2 712s # Test 3, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_ARG1K2 712s # Test 4, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_AKG1K2 712s # Test 5, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_GBG1K2 712s # Test 6, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_IPY1K2 712s # Test 7, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_41V1K2 712s # Test 8, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_ZFX1K2 712s # Test 9, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_4JX1K2 712s # Test 10, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_R011K2 712s # Test 11, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_0ZR1K2 712s # Test 12, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_RSR1K2 712s # Test 13, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_PMR1K2 712s # Test 14, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_L0Q1K2 712s # Test 15, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_1AV1K2 712s # Test 16, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_MNIZK2 712s # Test 17, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_N0FZK2 712s # Test 18, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_1LKZK2 712s # Test 19, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_OXJZK2 712s # Test 20, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_NR9YK2 712s # Test 21, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_32DZK2 712s # Test 22, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_9HDZK2 712s # Test 23, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_T8CZK2 712s # Test 24, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_RYTZK2 712s # Test 25, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_USTZK2 712s # Test 26, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_LLTZK2 712s # Test 27, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_5DTZK2 712s # Test 28, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_F5VZK2 712s # Test 29, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_RPOZK2 712s # Test 30, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_0IOZK2 712s # Test 31, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_5MOZK2 712s # Test 32, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_C2QZK2 712s # Test 33, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_S6PZK2 712s # Test 34, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_SYPZK2 712s # Test 35, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_O36ZK2 712s # Test 36, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_BFA0K2 712s # Test 37, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_DM8ZK2 712s # Test 38, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_JP0ZK2 712s # Test 39, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_RPYZK2 712s # Test 40, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_9M4ZK2 712s # Test 41, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_8M2ZK2 712s # Test 42, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_TII0K2 712s # Test 43, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_2QK0K2 712s # Test 44, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_7BC0K2 712s # Test 45, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_F4B0K2 712s # Test 46, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_LXG0K2 712s # Test 47, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_U3E0K2 712s # Test 48, using temporary directory /tmp/test_file_6UDQK2/g_file_replace_F4TMK2 712s # We do not have CAP_DAC_OVERRIDE or equivalent 712s ok 37 /file/replace/read-write 712s # End of replace tests 712s # Start of copy tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_6UDQK2/file/copy/progress/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_6UDQK2/file/copy/progress/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/copy/progress/.dirs/runtime 712s ok 38 /file/copy/progress 712s # End of copy tests 712s # Start of writev tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/no-bytes-written/.dirs/runtime 712s ok 39 /file/writev/no-bytes-written 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/no-vectors/.dirs/runtime 712s ok 40 /file/writev/no-vectors 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/empty-vectors/.dirs/runtime 712s ok 41 /file/writev/empty-vectors 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/too-big-vectors/.dirs/runtime 712s ok 42 /file/writev/too-big-vectors 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/async/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/async/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/async/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/async/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/async/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/async/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/async/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/async/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/async/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/async/.dirs/runtime 712s ok 43 /file/writev/async 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/async_all/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/async_all/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/async_all/.dirs/runtime 712s ok 44 /file/writev/async_all 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/async_all-empty-vectors/.dirs/runtime 712s ok 45 /file/writev/async_all-empty-vectors 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/async_all-no-vectors/.dirs/runtime 712s ok 46 /file/writev/async_all-no-vectors 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/async_all-to-big-vectors/.dirs/runtime 712s ok 47 /file/writev/async_all-to-big-vectors 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/writev/async_all-cancellation/.dirs/runtime 712s ok 48 /file/writev/async_all-cancellation 712s # End of writev tests 712s # Start of from-uri tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/from-uri/ignores-query-string/.dirs/runtime 712s ok 49 /file/from-uri/ignores-query-string 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6UDQK2/file/from-uri/ignores-fragment/.dirs/runtime 712s ok 50 /file/from-uri/ignores-fragment 712s # End of from-uri tests 712s # End of file tests 712s ok - glib/file.test 712s # Running test: glib/types.test 712s TAP version 13 712s # random seed: R02Sba3225bb0953f32c82918cf5d008e8f0 712s 1..1 712s # Start of types tests 712s ok 1 /types/basic_types 712s # End of types tests 712s ok - glib/types.test 712s # Running test: glib/gdbus-test-codegen-old.test 712s TAP version 13 712s # random seed: R02S7b64ebf0f8f327cf2fbace647c6a884f 712s 1..8 712s # Start of gdbus tests 712s # Start of codegen tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/annotations/.dirs/runtime 712s ok 1 /gdbus/codegen/annotations 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/interface_stability/.dirs/runtime 712s ok 2 /gdbus/codegen/interface_stability 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/object-manager/.dirs/runtime 712s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 712s ok 3 /gdbus/codegen/object-manager 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/property-naming/.dirs/runtime 712s ok 4 /gdbus/codegen/property-naming 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/autocleanups/.dirs/runtime 712s ok 5 /gdbus/codegen/autocleanups 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/deprecations/.dirs/runtime 712s ok 6 /gdbus/codegen/deprecations 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 712s ok 7 /gdbus/codegen/standalone-interface-info 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_V17MK2/gdbus/codegen/unix-fd-list/.dirs/runtime 712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 712s ok 8 /gdbus/codegen/unix-fd-list 712s # End of codegen tests 712s # End of gdbus tests 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok - glib/gdbus-test-codegen-old.test 712s # Running test: glib/objects-refcount2.test 712s TAP version 13 712s # random seed: R02Sa0edc3350a13440f2b862e84261ccee0 712s 1..1 712s # Start of gobject tests 712s # Start of refcount tests 712s # init 0xb86fbdecd750 712s # 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # Executing: glib/objects-refcount2.test 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 712s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 713s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 714s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 715s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 716s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # Executing: glib/objects-refcount2.test 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 717s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # . 718s # dispose 0xb86fbdecd750! 718s # 718s ok 1 /gobject/refcount/object-advanced 718s # slow test /gobject/refcount/object-advanced executed in 6.22 secs 718s # End of refcount tests 718s # End of gobject tests 718s ok - glib/objects-refcount2.test 718s # Running test: glib/qdata.test 718s TAP version 13 718s # random seed: R02S1c24d5f8685d0ecdea833a74559fdfe3 718s 1..2 718s # Start of qdata tests 718s ok 1 /qdata/threaded 718s ok 2 /qdata/dup 718s # End of qdata tests 718s ok - glib/qdata.test 718s # Running test: glib/spawn-singlethread.test 718s TAP version 13 718s # random seed: R02Se5ab16d416a410f1c075687a894b7166 718s 1..9 718s # Start of gthread tests 718s ok 1 /gthread/spawn-single-sync 718s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 718s ok 2 /gthread/spawn-stderr-socket 718s ok 3 /gthread/spawn-single-async 718s # thread 1 719s # thread 1 719s ok 4 /gthread/spawn-single-async-with-fds 719s ok 5 /gthread/spawn-async-with-invalid-fds 719s ok 6 /gthread/spawn-script 719s ok 7 /gthread/spawn-posix-spawn 719s # Start of spawn tests 719s ok 8 /gthread/spawn/nonexistent 719s # FD map: 719s # • 5 → 15 719s # • 6 → 16 719s # • 7 → 17 719s # • 8 → 18 719s # • 9 → 19 719s # • 10 → 20 719s # • 11 → 21 719s # • 12 → 22 719s # • 13 → 23 719s # • 3 → 13 719s ok 9 /gthread/spawn/fd-assignment-clash 719s # End of spawn tests 719s # End of gthread tests 719s ok - glib/spawn-singlethread.test 719s # Running test: glib/io-stream.test 719s TAP version 13 719s # random seed: R02S4c664a881979a1402883f735802c039a 719s 1..3 719s # Start of io-stream tests 719s ok 1 /io-stream/copy-chunks 719s # Start of close tests 719s # Start of async tests 719s ok 2 /io-stream/close/async/memory 719s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 719s ok 3 /io-stream/close/async/file 719s # End of async tests 719s # End of close tests 719s # End of io-stream tests 719s ok - glib/io-stream.test 719s # Running test: glib/autoptr-gio.test 719s TAP version 13 719s # random seed: R02S88775350cd4f0a6ac4f72d8043726f0c 719s 1..1 719s # Start of autoptr tests 719s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 719s ok 1 /autoptr/autoptr 719s # End of autoptr tests 719s ok - glib/autoptr-gio.test 719s # Running test: glib/g-file-info-filesystem-readonly.test 719s TAP version 13 719s # random seed: R02S8e9c70db653a8372b2711760ca0476e1 719s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 719s 1..2 719s # Start of g-file-info-filesystem-readonly tests 719s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 719s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 719s # End of g-file-info-filesystem-readonly tests 719s ok - glib/g-file-info-filesystem-readonly.test 719s # Running test: glib/gapplication.test 719s TAP version 13 719s # random seed: R02S3ac9bca8134ea9a879b14ce2ba3d4fd2 719s 1..24 719s # Start of gapplication tests 719s ok 1 /gapplication/no-dbus 719s ok 2 /gapplication/no-appid 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 3 /gapplication/properties 719s ok 4 /gapplication/app-id 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 5 /gapplication/quit 719s ok 6 /gapplication/registered 719s ok 7 /gapplication/local-actions 719s ok 8 /gapplication/local-command-line 719s ok 9 /gapplication/resource-path 719s ok 10 /gapplication/test-help 719s ok 11 /gapplication/command-line-done 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 12 /gapplication/test-busy 719s ok 13 /gapplication/test-handle-local-options1 719s ok 14 /gapplication/test-handle-local-options2 719s ok 15 /gapplication/test-handle-local-options3 719s ok 16 /gapplication/api 719s ok 17 /gapplication/version 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # launching subprocess 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 18 /gapplication/replace 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # launching subprocess 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 19 /gapplication/no-replace 719s # slow test /gapplication/no-replace executed in 0.51 secs 719s # Start of dbus tests 719s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # Message 0 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 1 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 2 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 20 /gapplication/dbus/activate 719s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # Message 0 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 719s # Message 1 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 2 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 3 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 21 /gapplication/dbus/open 719s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # Message 0 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 1 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 2 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 22 /gapplication/dbus/command-line 719s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 23 /gapplication/dbus/command-line-done 719s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 719s # Message 0 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 1 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 2 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 3 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 4 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # Message 5 719s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok 24 /gapplication/dbus/activate-action 719s # End of dbus tests 719s # End of gapplication tests 719s ok - glib/gapplication.test 719s # Running test: glib/macros-c-99.test 719s TAP version 13 719s # random seed: R02S7a8609cf8338634d1b012e65a2d494ed 719s 1..4 719s # Start of C tests 719s ok 1 /C/standard-99 719s # End of C tests 719s # Start of alignof tests 719s ok 2 /alignof/fallback 719s # End of alignof tests 719s # Start of assert tests 719s ok 3 /assert/static 719s # End of assert tests 719s # Start of struct tests 719s ok 4 /struct/sizeof_member 719s # End of struct tests 719s ok - glib/macros-c-99.test 719s # Running test: glib/thumbnail-verification.test 719s TAP version 13 719s # random seed: R02S695f4e1d8820bde933a9e065cabcce74 719s 1..1 719s # Start of png-thumbs tests 719s ok 1 /png-thumbs/validity 719s # End of png-thumbs tests 719s ok - glib/thumbnail-verification.test 719s # Running test: glib/gdbus-peer-object-manager.test 719s TAP version 13 719s # random seed: R02S1f9838dbdc42a4161390820511a1e92d 719s 1..2 719s # Start of gdbus tests 719s # Start of peer-object-manager tests 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/normal/.dirs/runtime 719s ok 1 /gdbus/peer-object-manager/normal 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DT7LK2/gdbus/peer-object-manager/root/.dirs/runtime 719s ok 2 /gdbus/peer-object-manager/root 719s # End of peer-object-manager tests 719s # End of gdbus tests 719s ok - glib/gdbus-peer-object-manager.test 719s # Running test: glib/pathbuf.test 719s TAP version 13 719s # random seed: R02S6370ae36c505730a5524abc41e2247d8 719s 1..3 719s # Start of pathbuf tests 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_AM1LK2/pathbuf/init/.dirs/runtime 719s # Initializing empty path buf 719s # Initializing with empty path 719s # Initializing with full path 719s # Initializing with no path 719s # Allocating GPathBuf on the heap 719s ok 1 /pathbuf/init 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_AM1LK2/pathbuf/push-pop/.dirs/runtime 719s # Pushing relative path component 719s # Pushing absolute path component 719s # Popping a path component 719s # Can't pop the last element of a path buffer 719s ok 2 /pathbuf/push-pop 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_AM1LK2/pathbuf/filename-extension/.dirs/runtime 719s ok 3 /pathbuf/filename-extension 719s # End of pathbuf tests 719s ok - glib/pathbuf.test 719s # Running test: glib/async-splice-output-stream.test 719s TAP version 13 719s # random seed: R02S9586f1484f94efdd37580609961a5daa 719s 1..5 719s # Start of async-splice tests 719s ok 1 /async-splice/copy-chunks 719s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 719s ok 2 /async-splice/copy-chunks-threaded-input 719s ok 3 /async-splice/copy-chunks-threaded-output 719s ok 4 /async-splice/copy-chunks-threaded 719s ok 5 /async-splice/cancelled 719s # End of async-splice tests 719s ok - glib/async-splice-output-stream.test 719s # Running test: glib/union-info.test 719s TAP version 13 719s # random seed: R02S3d3fdeca6e7d45521ef79d080513066b 719s 1..2 719s # Start of union-info tests 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_S44JK2/union-info/basic/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_S44JK2/union-info/basic/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_S44JK2/union-info/basic/.dirs/runtime 719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 719s # /union-info/basic summary: Test basic properties of GIUnionInfo 719s ok 1 /union-info/basic 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_S44JK2/union-info/methods/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_S44JK2/union-info/methods/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_S44JK2/union-info/methods/.dirs/runtime 719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 719s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 719s ok 2 /union-info/methods 719s # End of union-info tests 719s ok - glib/union-info.test 719s # Running test: glib/node.test 719s TAP version 13 719s # random seed: R02Se66b3fb9137bf8b632640d305030d3fc 719s 1..6 719s # Start of node tests 719s ok 1 /node/allocation 719s ok 2 /node/construction 719s ok 3 /node/traversal 719s ok 4 /node/misc 719s ok 5 /node/unlink 719s ok 6 /node/copy 719s # End of node tests 719s ok - glib/node.test 719s # Running test: glib/fileattributematcher.test 719s TAP version 13 719s # random seed: R02S0303b5ae09d6fce7e0447c9d99d2c8aa 719s 1..3 719s # Start of fileattributematcher tests 719s ok 1 /fileattributematcher/exact 719s ok 2 /fileattributematcher/equality 719s ok 3 /fileattributematcher/subtract 719s # End of fileattributematcher tests 719s ok - glib/fileattributematcher.test 719s # Running test: glib/notify-init2.test 719s TAP version 13 719s # random seed: R02S1bbaf6843cc4e337308276930cf52f9c 719s 1..1 719s # Start of properties tests 719s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 719s ok 1 /properties/notify-in-init2 719s # End of properties tests 719s ok - glib/notify-init2.test 719s # Running test: glib/socket.test 719s TAP version 13 719s # random seed: R02S13c19584003af78c7e544e69de4fe8db 719s 1..28 719s # Start of socket tests 720s ok 1 /socket/ipv4_sync 720s # slow test /socket/ipv4_sync executed in 1.00 secs 721s ok 2 /socket/ipv4_async 721s # slow test /socket/ipv4_async executed in 1.00 secs 721s ok 3 /socket/ipv6_sync 721s ok 4 /socket/ipv6_async 721s ok 5 /socket/ipv6_v4mapped 722s ok 6 /socket/close_graceful 722s # slow test /socket/close_graceful executed in 1.00 secs 722s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 722s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 722s ok 8 /socket/fd_reuse 722s ok 9 /socket/address 722s ok 10 /socket/unix-from-fd 722s ok 11 /socket/unix-connection 722s ok 12 /socket/unix-connection-ancillary-data 722s ok 13 /socket/source-postmortem 722s ok 14 /socket/read_write 722s ok 15 /socket/read_writev 722s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 722s ok 16 /socket/receive_bytes 722s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 722s ok 17 /socket/receive_bytes_from 722s # Start of ipv4_sync tests 722s ok 18 /socket/ipv4_sync/datagram 722s # Start of datagram tests 722s # Executing: glib/socket.test 723s ok 19 /socket/ipv4_sync/datagram/timeouts 723s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 723s # End of datagram tests 723s # End of ipv4_sync tests 723s # Start of ipv6_sync tests 723s ok 20 /socket/ipv6_sync/datagram 723s # Start of datagram tests 724s ok 21 /socket/ipv6_sync/datagram/timeouts 724s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 724s # End of datagram tests 724s # End of ipv6_sync tests 724s # Start of reuse tests 724s ok 22 /socket/reuse/tcp 724s ok 23 /socket/reuse/udp 724s # End of reuse tests 724s # Start of get_available tests 725s ok 24 /socket/get_available/datagram 725s ok 25 /socket/get_available/stream 725s # End of get_available tests 725s # Start of credentials tests 725s # Supported on this OS: GCredentials:linux-ucred:pid=0 725s ok 26 /socket/credentials/tcp_client 725s # Supported on this OS: GCredentials:linux-ucred:pid=0 725s ok 27 /socket/credentials/tcp_server 725s # Supported on this OS: GCredentials:linux-ucred:pid=5145,uid=1000,gid=1000 725s ok 28 /socket/credentials/unix_socketpair 725s # End of credentials tests 725s # End of socket tests 725s ok - glib/socket.test 725s # Running test: glib/queue.test 725s TAP version 13 725s # random seed: R02S8ca086af260a5f54c37f528e680de895 725s 1..12 725s # Start of queue tests 725s ok 1 /queue/basic 725s ok 2 /queue/copy 725s ok 3 /queue/off-by-one 725s ok 4 /queue/find-custom 725s ok 5 /queue/static 725s ok 6 /queue/clear 725s ok 7 /queue/free-full 725s ok 8 /queue/clear-full 725s ok 9 /queue/insert-sibling-link 725s ok 10 /queue/push-nth-link 725s # Start of clear-full tests 725s ok 11 /queue/clear-full/noop 725s # End of clear-full tests 725s # Start of random tests 725s ok 12 /queue/random/seed:918946125 725s # End of random tests 725s # End of queue tests 725s ok - glib/queue.test 725s # Running test: glib/asyncqueue.test 725s TAP version 13 725s # random seed: R02Sf2c1cfc149b5eaee17213d90737768c1 725s 1..7 725s # Start of asyncqueue tests 725s ok 1 /asyncqueue/basics 725s ok 2 /asyncqueue/sort 725s ok 3 /asyncqueue/destroy 725s ok 4 /asyncqueue/threads 725s ok 5 /asyncqueue/timed 725s ok 6 /asyncqueue/remove 725s ok 7 /asyncqueue/push_front 725s # End of asyncqueue tests 725s ok - glib/asyncqueue.test 725s # Running test: glib/completion.test 725s TAP version 13 725s # random seed: R02S72aaef33525dc80654b58ab50c7434c7 725s 1..1 725s # Start of completion tests 725s ok 1 /completion/test-completion 725s # End of completion tests 725s ok - glib/completion.test 725s # Running test: glib/thread-pool-slow.test 725s TAP version 13 725s # random seed: R02Sdfbd162b7490b41fa64277d8eeec30c6 725s 1..7 725s # Start of threadpool tests 725s ok 1 /threadpool/functions 726s ok 2 /threadpool/stop-unused 726s # slow test /threadpool/stop-unused executed in 0.51 secs 726s ok 3 /threadpool/pools 726s # [unsorted] ===> pushed new thread with id:50, number of threads:1, unprocessed:1 726s # [unsorted] ===> pushed new thread with id:71, number of threads:2, unprocessed:1 726s # [unsorted] ===> pushed new thread with id:34, number of threads:3, unprocessed:1 726s # [unsorted] ===> pushed new thread with id:64, number of threads:4, unprocessed:1 726s # [unsorted] ===> pushed new thread with id:100, number of threads:5, unprocessed:2 726s # [unsorted] ===> pushed new thread with id:71, number of threads:6, unprocessed:2 726s # [unsorted] ===> pushed new thread with id:26, number of threads:7, unprocessed:2 726s # [unsorted] ===> pushed new thread with id:5, number of threads:8, unprocessed:2 726s # [unsorted] ===> pushed new thread with id:95, number of threads:9, unprocessed:3 726s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:3 726s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:2 726s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:2 726s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:3 726s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:4 726s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:5 726s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:6 726s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:7 726s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:8 726s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:9 726s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:10 726s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:11 726s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:12 726s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:13 726s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:14 726s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:15 726s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:16 726s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:17 726s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:18 726s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:19 726s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:20 726s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:21 726s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:22 726s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:23 726s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:24 726s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:25 726s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:26 726s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:27 726s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:28 726s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:29 726s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:30 726s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:31 726s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:32 726s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:33 726s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:34 726s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:35 726s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:36 726s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:37 726s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:38 726s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:39 726s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:40 726s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:41 726s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:42 726s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:43 726s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:44 726s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:45 726s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:46 726s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:47 726s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:48 726s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:49 726s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:50 726s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:51 726s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:52 726s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:53 726s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:54 726s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:55 726s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:56 726s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:57 726s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:58 726s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:59 726s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:60 726s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:61 726s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:62 726s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:63 726s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:64 726s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:65 726s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:66 726s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:67 726s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:68 726s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:69 726s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:70 726s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:71 726s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:72 726s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:73 726s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:74 726s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:75 726s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:76 726s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:77 726s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:78 726s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:79 726s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:80 726s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:81 726s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:82 726s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:83 726s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:84 726s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:85 726s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:86 726s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:87 726s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:88 726s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:89 726s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:90 726s ok 4 /threadpool/no-sort 726s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:1 726s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:2 726s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:3 726s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:4 726s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:5 726s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:6 726s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:7 726s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:8 726s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:9 726s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:10 726s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:11 726s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:12 726s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:13 726s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:14 726s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:15 726s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:16 726s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:17 726s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:18 726s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:19 726s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:20 726s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:21 726s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:22 726s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:23 726s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:24 726s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:25 726s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:26 726s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:27 726s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:28 726s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:29 726s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:30 726s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:31 726s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:32 726s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:33 726s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:34 726s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:35 726s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:36 726s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:37 726s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:38 726s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:39 726s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:40 726s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:41 726s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:42 726s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:43 726s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:44 726s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:45 726s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:46 726s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:47 726s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:48 726s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:49 726s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:50 726s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:51 726s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:52 726s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:53 726s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:54 726s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:55 726s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:56 726s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:57 726s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:58 726s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:59 726s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:60 726s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:61 726s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:62 726s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:63 726s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:64 726s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:65 726s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:66 726s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:67 726s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:68 726s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:69 726s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:70 726s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:71 726s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:72 726s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:73 726s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:74 726s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:75 726s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:76 726s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:77 726s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:78 726s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:79 726s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:80 726s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:81 726s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:82 726s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:83 726s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:84 726s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:85 726s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:86 726s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:87 726s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:88 726s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:89 726s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:90 726s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:91 726s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:92 726s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:93 726s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:94 726s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:95 726s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:96 726s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:97 726s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:98 726s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:99 726s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:100 726s # Starting thread pool processing 726s ok 5 /threadpool/sort 726s ok 6 /threadpool/stop-unused-multiple 726s # slow test /threadpool/stop-unused-multiple executed in 0.50 secs 726s # Pool idle thread count: 0, unprocessed jobs: 40 727s # Pool idle thread count: 0, unprocessed jobs: 0 727s # Pool idle thread count: 0, unprocessed jobs: 0 727s # Pool idle thread count: 10, unprocessed jobs: 0 727s # Pool idle thread count: 10, unprocessed jobs: 0 727s # Executing: glib/thread-pool-slow.test 728s # Pool idle thread count: 10, unprocessed jobs: 0 728s # Pool idle thread count: 10, unprocessed jobs: 0 728s # Pool idle thread count: 10, unprocessed jobs: 0 728s # Pool idle thread count: 10, unprocessed jobs: 0 729s # Pool idle thread count: 10, unprocessed jobs: 0 729s # Pool idle thread count: 10, unprocessed jobs: 0 729s # Pool idle thread count: 10, unprocessed jobs: 0 729s # Pool idle thread count: 10, unprocessed jobs: 0 730s # Pool idle thread count: 10, unprocessed jobs: 0 730s # Pool idle thread count: 10, unprocessed jobs: 0 730s # Pool idle thread count: 10, unprocessed jobs: 0 730s # Pool idle thread count: 10, unprocessed jobs: 0 731s # Pool idle thread count: 10, unprocessed jobs: 0 731s # Pool idle thread count: 10, unprocessed jobs: 0 731s # Pool idle thread count: 10, unprocessed jobs: 0 731s # Pool idle thread count: 10, unprocessed jobs: 0 732s # Pool idle thread count: 10, unprocessed jobs: 0 732s # Pool idle thread count: 10, unprocessed jobs: 0 732s # Pool idle thread count: 10, unprocessed jobs: 0 732s # Pool idle thread count: 10, unprocessed jobs: 0 732s # Executing: glib/thread-pool-slow.test 733s # Pool idle thread count: 10, unprocessed jobs: 0 733s # Pool idle thread count: 10, unprocessed jobs: 0 733s # Pool idle thread count: 10, unprocessed jobs: 0 733s # Pool idle thread count: 10, unprocessed jobs: 0 734s # Pool idle thread count: 10, unprocessed jobs: 0 734s # Pool idle thread count: 10, unprocessed jobs: 0 734s # Pool idle thread count: 10, unprocessed jobs: 0 734s # Pool idle thread count: 10, unprocessed jobs: 0 735s # Pool idle thread count: 10, unprocessed jobs: 0 735s # Pool idle thread count: 10, unprocessed jobs: 0 735s # Pool idle thread count: 10, unprocessed jobs: 2 735s # Pool idle thread count: 9, unprocessed jobs: 1 735s # Pool idle thread count: 8, unprocessed jobs: 0 735s # Pool idle thread count: 8, unprocessed jobs: 0 736s # Pool idle thread count: 10, unprocessed jobs: 0 736s # Pool idle thread count: 10, unprocessed jobs: 0 736s # Pool idle thread count: 10, unprocessed jobs: 0 736s # Pool idle thread count: 10, unprocessed jobs: 0 737s # Pool idle thread count: 10, unprocessed jobs: 0 737s # Pool idle thread count: 10, unprocessed jobs: 0 737s # Pool idle thread count: 2, unprocessed jobs: 0 737s # Pool idle thread count: 2, unprocessed jobs: 0 737s # Executing: glib/thread-pool-slow.test 738s # Pool idle thread count: 2, unprocessed jobs: 0 738s # Pool idle thread count: 2, unprocessed jobs: 0 738s # Pool idle thread count: 2, unprocessed jobs: 0 738s # Pool idle thread count: 2, unprocessed jobs: 0 739s # Pool idle thread count: 2, unprocessed jobs: 0 739s # Pool idle thread count: 2, unprocessed jobs: 0 739s # Pool idle thread count: 2, unprocessed jobs: 0 739s # Pool idle thread count: 2, unprocessed jobs: 0 740s # Pool idle thread count: 2, unprocessed jobs: 0 740s # Pool idle thread count: 2, unprocessed jobs: 0 740s # Pool idle thread count: 2, unprocessed jobs: 0 740s # Pool idle thread count: 2, unprocessed jobs: 0 741s # Pool idle thread count: 2, unprocessed jobs: 0 741s # Pool idle thread count: 2, unprocessed jobs: 0 741s # Pool idle thread count: 2, unprocessed jobs: 0 741s # Pool idle thread count: 2, unprocessed jobs: 0 742s # Pool idle thread count: 2, unprocessed jobs: 0 742s # Pool idle thread count: 2, unprocessed jobs: 0 742s # Executing: glib/thread-pool-slow.test 742s # Pool idle thread count: 2, unprocessed jobs: 0 742s # Pool idle thread count: 2, unprocessed jobs: 0 743s # Pool idle thread count: 2, unprocessed jobs: 0 743s # Pool idle thread count: 2, unprocessed jobs: 0 743s # Pool idle thread count: 2, unprocessed jobs: 0 743s # Pool idle thread count: 2, unprocessed jobs: 0 744s # Pool idle thread count: 2, unprocessed jobs: 0 744s # Pool idle thread count: 2, unprocessed jobs: 0 744s # Pool idle thread count: 2, unprocessed jobs: 0 744s # Pool idle thread count: 2, unprocessed jobs: 0 745s # Pool idle thread count: 2, unprocessed jobs: 0 745s # Pool idle thread count: 2, unprocessed jobs: 0 745s # Pool idle thread count: 2, unprocessed jobs: 0 745s # Pool idle thread count: 2, unprocessed jobs: 0 746s ok 7 /threadpool/idle-time 746s # slow test /threadpool/idle-time executed in 19.58 secs 746s # End of threadpool tests 746s ok - glib/thread-pool-slow.test 746s # Running test: glib/module-test-library.test 746s TAP version 13 746s # random seed: R02S42e6bdec77df74d5d523ffee2d21e1ba 746s 1..2 746s # Start of module tests 746s ok 1 /module/basics 746s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 746s ok 2 /module/invalid-libtool-archive 746s # End of module tests 746s ok - glib/module-test-library.test 746s # Running test: glib/gvariant.test 746s TAP version 13 746s # random seed: R02S1af1112ec3682619ea4181096404777b 746s 1..64 746s # Start of gvariant tests 746s ok 1 /gvariant/type 746s ok 2 /gvariant/typeinfo 746s ok 3 /gvariant/string 746s ok 4 /gvariant/utf8 746s ok 5 /gvariant/containers 746s ok 6 /gvariant/format-strings 746s ok 7 /gvariant/invalid-varargs 746s ok 8 /gvariant/varargs 746s ok 9 /gvariant/valist 746s ok 10 /gvariant/builder-memory 746s ok 11 /gvariant/hashing 746s ok 12 /gvariant/byteswap 747s ok 13 /gvariant/parser 747s ok 14 /gvariant/parse-failures 747s ok 15 /gvariant/parse-positional 747s ok 16 /gvariant/floating 747s ok 17 /gvariant/bytestring 747s ok 18 /gvariant/lookup-value 747s ok 19 /gvariant/lookup 747s ok 20 /gvariant/compare 747s ok 21 /gvariant/equal 747s ok 22 /gvariant/fixed-array 747s ok 23 /gvariant/check-format-string 747s ok 24 /gvariant/checksum-basic 747s ok 25 /gvariant/checksum-nested 747s ok 26 /gvariant/gbytes 747s ok 27 /gvariant/print-context 747s ok 28 /gvariant/error-quark 747s ok 29 /gvariant/stack-builder-init 747s ok 30 /gvariant/stack-dict-init 747s ok 31 /gvariant/unaligned-construction 747s # Start of type tests 747s # Start of string-scan tests 747s # Start of recursion tests 747s ok 32 /gvariant/type/string-scan/recursion/tuple 747s ok 33 /gvariant/type/string-scan/recursion/array 747s # End of recursion tests 747s # End of string-scan tests 747s # End of type tests 747s # Start of serialiser tests 747s ok 34 /gvariant/serialiser/maybe 747s ok 35 /gvariant/serialiser/array 747s ok 36 /gvariant/serialiser/tuple 747s ok 37 /gvariant/serialiser/variant 747s ok 38 /gvariant/serialiser/strings 748s # Executing: glib/gvariant.test 751s ok 39 /gvariant/serialiser/byteswap 751s # slow test /gvariant/serialiser/byteswap executed in 4.21 secs 751s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 751s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 751s ok 40 /gvariant/serialiser/children 751s # Start of fuzz tests 751s ok 41 /gvariant/serialiser/fuzz/1% 752s ok 42 /gvariant/serialiser/fuzz/5% 752s # Executing: glib/gvariant.test 755s ok 43 /gvariant/serialiser/fuzz/9% 755s # slow test /gvariant/serialiser/fuzz/9% executed in 0.97 secs 755s ok 44 /gvariant/serialiser/fuzz/13% 755s ok 45 /gvariant/serialiser/fuzz/17% 755s # End of fuzz tests 755s # End of serialiser tests 755s # Start of varargs tests 755s # Start of subprocess tests 755s # End of subprocess tests 755s # End of varargs tests 755s # Start of byteswap tests 755s # /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. 755s ok 46 /gvariant/byteswap/non-normal-non-aligned 755s # End of byteswap tests 755s # Start of parser tests 755s ok 47 /gvariant/parser/integer-bounds 755s ok 48 /gvariant/parser/recursion 755s # Start of recursion tests 755s ok 49 /gvariant/parser/recursion/typedecls 755s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 755s # Text form 0: @mmmu 5 755s # Text form 1: @mmmas ['hello'] 755s # Text form 2: @mmmu just just nothing 755s # Text form 3: @mmmas just just nothing 755s # Text form 4: @mmmu just nothing 755s # Text form 5: @mmmas just nothing 755s # Text form 6: @mmmu nothing 755s # Text form 7: @mmmas nothing 755s ok 50 /gvariant/parser/recursion/maybes 755s # End of recursion tests 755s # End of parser tests 755s # Start of parse tests 755s # Start of subprocess tests 755s # End of subprocess tests 755s # End of parse tests 755s # Start of normal-checking tests 755s ok 51 /gvariant/normal-checking/tuples 755s ok 52 /gvariant/normal-checking/array-offsets 755s ok 53 /gvariant/normal-checking/array-offsets2 755s ok 54 /gvariant/normal-checking/tuple-offsets 755s ok 55 /gvariant/normal-checking/tuple-offsets2 755s ok 56 /gvariant/normal-checking/tuple-offsets3 755s ok 57 /gvariant/normal-checking/tuple-offsets4 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 755s ok 58 /gvariant/normal-checking/tuple-offsets5 755s ok 59 /gvariant/normal-checking/empty-object-path 755s # Start of array-offsets tests 755s ok 60 /gvariant/normal-checking/array-offsets/overlapped 755s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 755s # End of array-offsets tests 755s # Start of tuple-offsets tests 755s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 755s # End of tuple-offsets tests 755s # End of normal-checking tests 755s # Start of recursion-limits tests 755s ok 63 /gvariant/recursion-limits/variant-in-variant 755s ok 64 /gvariant/recursion-limits/array-in-variant 755s # End of recursion-limits tests 755s # End of gvariant tests 755s ok - glib/gvariant.test 755s # Running test: glib/timer.test 755s TAP version 13 755s # random seed: R02S77a541b154933b4e21d99fe38c3d5f0b 755s 1..10 755s # Start of timer tests 755s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 755s ok 2 /timer/stop 755s ok 3 /timer/continue 755s ok 4 /timer/reset 755s ok 5 /timer/is_active 755s # End of timer tests 755s # Start of timeval tests 755s ok 6 /timeval/add 755s ok 7 /timeval/from-iso8601 755s ok 8 /timeval/to-iso8601 755s # Start of to-iso8601 tests 755s ok 9 /timeval/to-iso8601/overflow 755s # End of to-iso8601 tests 755s # End of timeval tests 755s # Start of usleep tests 755s ok 10 /usleep/with-zero-wait 755s # End of usleep tests 755s ok - glib/timer.test 755s # Running test: glib/cxx-20.test 755s TAP version 13 755s # random seed: R02Sc5044feb31a14a9a75e2747db99eaab2 755s 1..2 755s # Start of gtask tests 755s # 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. 755s ok 1 /gtask/name 755s # Start of name tests 755s # 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. 755s ok 2 /gtask/name/macro-wrapper 755s # End of name tests 755s # End of gtask tests 755s ok - glib/cxx-20.test 755s # Running test: glib/dir.test 755s TAP version 13 755s # random seed: R02S3d4d7d489836bd3651ec432d2044a592 755s 1..3 755s # Start of dir tests 755s ok 1 /dir/read 755s ok 2 /dir/nonexisting 755s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 755s ok 3 /dir/refcounting 755s # End of dir tests 755s ok - glib/dir.test 755s # Running test: glib/642026.test 755s TAP version 13 755s # random seed: R02S091cc801e4ca392b1bc22da7298a3ccf 755s 1..1 755s # Start of glib tests 755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 755s ok 1 /glib/642026 755s # End of glib tests 755s ok - glib/642026.test 755s # Running test: glib/type.test 755s TAP version 13 755s # random seed: R02S0b1dc21249ef69c2c0cda0bca6a80a0b 755s 1..6 755s # Start of type tests 755s ok 1 /type/registration-serial 755s ok 2 /type/interface-prerequisite 755s ok 3 /type/interface-check 755s ok 4 /type/next-base 755s ok 5 /type/is-a 755s # Invalid types can?t be queried. 755s # Unclassed types can?t be queried. 755s ok 6 /type/query 755s # End of type tests 755s ok - glib/type.test 755s # Running test: glib/basic-signals.test 755s TAP version 13 755s # random seed: R02Se3149744312380f46aa0bdb2641f6687 755s 1..1 755s # Start of gobject tests 755s ok 1 /gobject/basic-signals 755s # End of gobject tests 755s ok - glib/basic-signals.test 755s # Running test: glib/list.test 755s TAP version 13 755s # random seed: R02Sac57d8e4e751d9c351ae706356c624ad 755s 1..20 755s # Start of list tests 755s ok 1 /list/sort 755s ok 2 /list/sort-with-data 755s ok 3 /list/insert-before-link 755s ok 4 /list/insert-sorted 755s ok 5 /list/insert-sorted-with-data 755s ok 6 /list/reverse 755s ok 7 /list/nth 755s ok 8 /list/concat 755s ok 9 /list/remove 755s ok 10 /list/remove-all 755s ok 11 /list/first-last 755s ok 12 /list/insert 755s ok 13 /list/free-full 755s ok 14 /list/copy 755s ok 15 /list/copy-deep 755s ok 16 /list/delete-link 755s ok 17 /list/prepend 755s ok 18 /list/position 755s ok 19 /list/double-free 755s # Start of sort tests 755s ok 20 /list/sort/stable 755s # End of sort tests 755s # End of list tests 755s ok - glib/list.test 755s # Running test: glib/fileutils.test 755s TAP version 13 755s # random seed: R02Sdbef0d85c3d73c031038ac6db34b272b 755s 1..27 755s # Start of fileutils tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/paths/.dirs/runtime 755s ok 1 /fileutils/paths 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/build-path/.dirs/runtime 755s ok 2 /fileutils/build-path 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/build-pathv/.dirs/runtime 755s ok 3 /fileutils/build-pathv 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/build-filename/.dirs/runtime 755s ok 4 /fileutils/build-filename 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/build-filenamev/.dirs/runtime 755s ok 5 /fileutils/build-filenamev 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents/.dirs/runtime 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s ok 6 /fileutils/mkdir-with-parents 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/mkdir-with-parents-permission/.dirs/runtime 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s ok 7 /fileutils/mkdir-with-parents-permission 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/format-size-for-display/.dirs/runtime 755s ok 8 /fileutils/format-size-for-display 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/errors/.dirs/runtime 755s ok 9 /fileutils/errors 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/basename/.dirs/runtime 755s ok 10 /fileutils/basename 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/get-basename/.dirs/runtime 755s ok 11 /fileutils/get-basename 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/dirname/.dirs/runtime 755s ok 12 /fileutils/dirname 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/dir-make-tmp/.dirs/runtime 755s ok 13 /fileutils/dir-make-tmp 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/file-open-tmp/.dirs/runtime 755s ok 14 /fileutils/file-open-tmp 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/file-test/.dirs/runtime 755s ok 15 /fileutils/file-test 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/mkstemp/.dirs/runtime 755s ok 16 /fileutils/mkstemp 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/mkdtemp/.dirs/runtime 755s ok 17 /fileutils/mkdtemp 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/get-contents/.dirs/runtime 755s ok 18 /fileutils/get-contents 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/get-contents-large-file/.dirs/runtime 755s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/set-contents/.dirs/runtime 755s ok 20 /fileutils/set-contents 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/.dirs/runtime 755s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 755s # Flags 0 and test 0 755s # Flags 0 and test 1 755s # Flags 0 and test 2 755s # Flags 0 and test 3 755s # Flags 0 and test 4 755s # Flags 0 and test 5 755s # Flags 1 and test 0 755s # Flags 1 and test 1 755s # Flags 1 and test 2 755s # Flags 1 and test 3 755s # Flags 1 and test 4 755s # Flags 1 and test 5 755s # Flags 2 and test 0 755s # Flags 2 and test 1 755s # Flags 2 and test 2 755s # Flags 2 and test 3 755s # Flags 2 and test 4 755s # Flags 2 and test 5 755s # Flags 3 and test 0 755s # Flags 3 and test 1 755s # Flags 3 and test 2 755s # Flags 3 and test 3 755s # Flags 3 and test 4 755s # Flags 3 and test 5 755s # Flags 4 and test 0 755s # Flags 4 and test 1 755s # Flags 4 and test 2 755s # Flags 4 and test 3 755s # Flags 4 and test 4 755s # Flags 4 and test 5 755s # Flags 5 and test 0 755s # Flags 5 and test 1 755s # Flags 5 and test 2 755s # Flags 5 and test 3 755s # Flags 5 and test 4 755s # Flags 5 and test 5 755s # Flags 6 and test 0 755s # Flags 6 and test 1 755s # Flags 6 and test 2 755s # Flags 6 and test 3 755s # Flags 6 and test 4 755s # Flags 6 and test 5 755s ok 21 /fileutils/set-contents-full 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/read-link/.dirs/runtime 755s ok 22 /fileutils/read-link 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/stdio-wrappers/.dirs/runtime 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s ok 23 /fileutils/stdio-wrappers 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/fopen-modes/.dirs/runtime 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 755s # Testing fopen() mode 'w' 755s # Testing fopen() mode 'r' 755s # Testing fopen() mode 'a' 755s # Testing fopen() mode 'w+' 755s # Testing fopen() mode 'r+' 755s # Testing fopen() mode 'a+' 755s # Testing fopen() mode 'wb' 755s # Testing fopen() mode 'rb' 755s # Testing fopen() mode 'ab' 755s # Testing fopen() mode 'w+b' 755s # Testing fopen() mode 'r+b' 755s # Testing fopen() mode 'a+b' 755s # Testing fopen() mode 'wb+' 755s # Testing fopen() mode 'rb+' 755s # Testing fopen() mode 'ab+' 755s ok 24 /fileutils/fopen-modes 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/clear-fd/.dirs/runtime 755s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 755s # Will be closed by autocleanup: 3, -42 755s # Testing error handling 755s ok 25 /fileutils/clear-fd 755s # Start of set-contents-full tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-file/.dirs/runtime 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 755s ok 26 /fileutils/set-contents-full/read-only-file 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_7A82K2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 755s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 755s # Flags 0 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s # Flags 1 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s # Flags 2 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s # Flags 3 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s # Flags 4 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s # Flags 5 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s # Flags 6 755s # We do not have CAP_DAC_OVERRIDE or equivalent 755s ok 27 /fileutils/set-contents-full/read-only-directory 755s # End of set-contents-full tests 755s # Start of clear-fd tests 755s # Start of subprocess tests 755s # End of subprocess tests 755s # End of clear-fd tests 755s # End of fileutils tests 755s ok - glib/fileutils.test 755s # Running test: glib/portal-support-flatpak-none.test 755s TAP version 13 755s # random seed: R02S24ca912a2de2ceb787cac9fc646fa970 755s 1..1 755s # Start of portal-support tests 755s # Start of flatpak tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/runtime 755s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_FZANK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 755s ok 1 /portal-support/flatpak/none 755s # End of flatpak tests 755s # End of portal-support tests 755s ok - glib/portal-support-flatpak-none.test 755s # Running test: glib/rand.test 755s TAP version 13 755s # random seed: R02Sb742b8a81d2804779650ef601bbb9f98 755s 1..2 755s # Start of rand tests 755s ok 1 /rand/test-rand 755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 755s ok 2 /rand/double-range 755s # End of rand tests 755s ok - glib/rand.test 755s # Running test: glib/g-file.test 755s TAP version 13 755s # random seed: R02Sdc42e24e7bc98f2f1d60113f3391029a 755s 1..8 755s # Start of g-file tests 755s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 755s ok 1 /g-file/test_g_file_new_null 755s ok 2 /g-file/test_g_file_new_for_path 755s ok 3 /g-file/test_g_file_new_for_uri 755s ok 4 /g-file/test_g_file_dup 755s ok 5 /g-file/test_g_file_get_parse_name_utf8 755s file:///tmp/test-tmp-glib_g-file.test-RUSNK2 755s file:///tmp 755s file:///tmp 755s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 755s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 755s ok 6 /g-file/test_g_file_new_for_commandline_arg 755s /dir1 /dir1/dir2/dir3/ 755s /dir1/ /dir1/dir2/dir3/ 755s /dir1 /dir1/dir2/dir3 755s /dir1/ /dir1/dir2/dir3 755s /tmp/ /something/ 755s /dir1/dir2 /dir1/ 755s //dir1/new //dir1/new/dir2/dir3 755s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 755s file:///dir1 file:///dir1/dir2/dir3/ 755s file:///dir1/ file:///dir1/dir2/dir3/ 755s file:///dir1 file:///dir1/dir2/dir3 755s file:///dir1/ file:///dir1/dir2/dir3 755s file:///tmp/ file:///something/ 755s file:///dir1/dir2 file:///dir1/ 755s file:////dir1/new file:////dir1/new/dir2/dir3 755s 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 755s ok 7 /g-file/test_g_file_has_prefix 755s ok 8 /g-file/test_g_file_get_parent_child 755s # End of g-file tests 755s ok - glib/g-file.test 755s # Running test: glib/autoptr-girepository.test 755s TAP version 13 755s # random seed: R02S239fb5efebdcaaee9a40beb9cc3ca393 755s 1..24 755s # Start of autoptr tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/repository/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 1 /autoptr/repository 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/typelib/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 2 /autoptr/typelib 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/base-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 3 /autoptr/base-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/arg-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 4 /autoptr/arg-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callable-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 5 /autoptr/callable-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/callback-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 6 /autoptr/callback-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/constant-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 7 /autoptr/constant-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/enum-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 8 /autoptr/enum-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/field-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 9 /autoptr/field-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/flags-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 10 /autoptr/flags-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/function-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 11 /autoptr/function-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/interface-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 12 /autoptr/interface-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/object-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 13 /autoptr/object-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/property-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 14 /autoptr/property-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/registered-type-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 15 /autoptr/registered-type-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/signal-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 16 /autoptr/signal-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/struct-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 17 /autoptr/struct-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/type-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 18 /autoptr/type-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/union-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 19 /autoptr/union-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/value-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 20 /autoptr/value-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/autoptr/vfunc-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 21 /autoptr/vfunc-info 755s # End of autoptr tests 755s # Start of auto tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/auto/arg-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 22 /auto/arg-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/auto/type-info/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 23 /auto/type-info 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_4P0JK2/auto/function-invoker/.dirs/runtime 755s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 755s ok 24 /auto/function-invoker 755s # End of auto tests 755s ok - glib/autoptr-girepository.test 755s # Running test: glib/sleepy-stream.test 755s TAP version 13 755s # random seed: R02S2a7af04e3424fee839f643d98d7c44df 755s 1..2 755s # Start of filter-stream tests 755s ok 1 /filter-stream/input 755s ok 2 /filter-stream/async 755s # End of filter-stream tests 755s ok - glib/sleepy-stream.test 755s # Running test: glib/unix-fd.test 755s TAP version 13 755s # random seed: R02Sf6b87537d368a27ae5974ded61dacc54 755s 1..2 755s # Start of unix-fd tests 755s ok 1 /unix-fd/fd-list 755s ok 2 /unix-fd/scm 755s # End of unix-fd tests 755s ok - glib/unix-fd.test 755s # Running test: glib/memchunk.test 755s TAP version 13 755s # random seed: R02S1a6cea6052551830b767bd2444f9865b 755s 1..1 755s # Start of memchunk tests 755s ok 1 /memchunk/basic 755s # End of memchunk tests 755s ok - glib/memchunk.test 755s # Running test: glib/portal-support-snap-classic.test 755s TAP version 13 755s # random seed: R02S3643767da0d57096256c7e47352204ca 755s 1..3 755s # Start of portal-support tests 755s # Start of snap-classic tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 755s ok 1 /portal-support/snap-classic/no-snapctl 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/runtime 755s # Created snap.yaml in /tmp/test_portal-support-snap-classic_A4WIK2/meta/snap.yaml 755s # Created snapctl in /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 755s ok 2 /portal-support/snap-classic/none 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/runtime 755s # Created snap.yaml in /tmp/test_portal-support-snap-classic_A4WIK2/meta/snap.yaml 755s # Created snapctl in /tmp/test_portal-support-snap-classic_A4WIK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 755s ok 3 /portal-support/snap-classic/all 755s # End of snap-classic tests 755s # End of portal-support tests 755s ok - glib/portal-support-snap-classic.test 755s # Running test: glib/fdo-notification-backend.test 755s TAP version 13 755s # random seed: R02S982e0c9b22623341f240e7ade3ba5760 755s 1..2 755s # Start of fdo-notification-backend tests 755s # Test constructing a GFdoNotificationBackend 755s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 1 /fdo-notification-backend/construction 755s # Start of dbus tests 755s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 755s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 755s ok 2 /fdo-notification-backend/dbus/activate-action 755s # End of dbus tests 755s # End of fdo-notification-backend tests 755s ok - glib/fdo-notification-backend.test 755s # Running test: glib/tree.test 755s TAP version 13 755s # random seed: R02S16c5758240d73873c6e27a5bfdef3e3b 755s 1..7 755s # Start of tree tests 755s ok 1 /tree/search 755s ok 2 /tree/remove 755s ok 3 /tree/destroy 755s ok 4 /tree/traverse 755s ok 5 /tree/insert 755s ok 6 /tree/bounds 755s ok 7 /tree/remove-all 755s # End of tree tests 755s ok - glib/tree.test 755s # Running test: glib/contexts.test 755s TAP version 13 755s # random seed: R02S51529de37faf85879699e8e52e725130 755s 1..5 755s # Start of gio tests 755s # Start of contexts tests 755s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 755s ok 1 /gio/contexts/thread-independence 755s ok 2 /gio/contexts/context-independence 755s # Start of context-specific tests 755s ok 3 /gio/contexts/context-specific/identity 755s ok 4 /gio/contexts/context-specific/emit 755s ok 5 /gio/contexts/context-specific/emit-and-unref 755s # End of context-specific tests 755s # End of contexts tests 755s # End of gio tests 755s ok - glib/contexts.test 755s # Running test: glib/utils-isolated.test 755s TAP version 13 755s # random seed: R02Sceaad3d83326ed8355ee67836269eb40 755s 1..9 755s # Start of utils-isolated tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/tmp-dir/.dirs/runtime 755s ok 1 /utils-isolated/tmp-dir 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/home-dir/.dirs/runtime 755s ok 2 /utils-isolated/home-dir 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-cache-dir/.dirs/runtime 755s ok 3 /utils-isolated/user-cache-dir 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-config-dirs/.dirs/runtime 755s ok 4 /utils-isolated/system-config-dirs 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-config-dir/.dirs/runtime 755s ok 5 /utils-isolated/user-config-dir 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/system-data-dirs/.dirs/runtime 755s ok 6 /utils-isolated/system-data-dirs 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-data-dir/.dirs/runtime 755s ok 7 /utils-isolated/user-data-dir 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-state-dir/.dirs/runtime 755s ok 8 /utils-isolated/user-state-dir 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_8T5YK2/utils-isolated/user-runtime-dir/.dirs/runtime 755s ok 9 /utils-isolated/user-runtime-dir 755s # End of utils-isolated tests 755s ok - glib/utils-isolated.test 755s # Running test: glib/gdbus-close-pending.test 755s TAP version 13 755s # random seed: R02Sef145a30917f3cdf5f699cf85012f734 755s 1..2 755s # Start of gdbus tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/close-pending/.dirs/runtime 755s ok 1 /gdbus/close-pending 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_G7XYK2/gdbus/unref-pending/.dirs/runtime 755s ok 2 /gdbus/unref-pending 755s # End of gdbus tests 755s ok - glib/gdbus-close-pending.test 755s # Running test: glib/properties-refcount1.test 755s TAP version 13 755s # random seed: R02S1e411a7b6f9178ebacbcba6f3ff19b37 755s 1..1 755s # Start of gobject tests 755s # Start of refcount tests 755s # .f 755s # .d 755s # .b 755s # .e 755s # .c 755s # .d 755s # .f 755s # .e 755s # .b 755s # .c 755s # .f 755s # .d 755s # .f 755s # .d 755s # .e 755s # .b 755s # .c 755s # .b 755s # .e 755s # .f 755s # .c 755s # .d 755s # .e 755s # .e 755s # .e 755s # .f 755s # .b 755s # .e 755s # .d 756s # .c 756s # .e 756s # .f 756s # .d 756s # .b 756s # .c 756s # .e 756s # .f 756s # .c 756s # .e 756s # .d 756s # .b 756s # .f 756s # .e 756s # .d 756s # .c 756s # .b 756s # .c 756s # .f 756s # .f 756s # .d 756s # .e 756s # .f 756s # .f 756s # .b 756s # .c 756s # .f 756s # .e 756s # .d 756s # .b 756s # .e 756s # .c 756s # .d 756s # .f 756s # .c 756s # .e 756s # .f 756s # .b 756s # .d 756s # .c 756s # .d 756s # .e 756s # .b 756s # .c 756s # .f 756s # .d 756s # .c 756s # .b 756s # .e 756s # .f 756s # .d 756s # .c 756s # .b 756s # .e 756s # .f 756s # .c 756s # .d 756s # .e 756s # .b 756s # .f 756s # .c 756s # .d 756s # .b 756s # .e 756s # .f 756s # .b 756s # .c 756s # .d 756s # .e 756s # .f 756s # .b 756s # .c 756s # .e 756s # .d 756s # .b 756s # .f 756s # .b 756s # .e 756s # .c 756s # .d 756s # .f 756s # .b 756s # .d 756s # .e 756s # .b 756s # .c 756s # .f 757s # .b 757s # .e 757s # .f 757s # .c 757s # .d 757s # .b 757s # .e 757s # .f 757s # .d 757s # .e 757s # .c 757s # .b 757s # .f 757s # .e 757s # .d 757s # .c 757s # .b 757s # .f 757s # .b 757s # .c 757s # .d 757s # .e 757s # .c 757s # .f 757s # .b 757s # .c 757s # .e 757s # .d 757s # .f 757s # .b 757s # .c 757s # .e 757s # .f 757s # .d 757s # .b 757s # .c 757s # .e 757s # .b 757s # .b 757s # .f 757s # .b 757s # .d 757s # .b 757s # .c 757s # .e 757s # .f 757s # .b 757s # .c 757s # .d 757s # .e 757s # .b 757s # .f 757s # .c 757s # .e 757s # .d 757s # .f 757s # .b 757s # .d 757s # .e 757s # .c 757s # .f 757s # .b 757s # .b 757s # .d 757s # .e 757s # .b 757s # .f 757s # .d 757s # .c 757s # .e 757s # .b 757s # .d 757s # .c 757s # .e 757s # .f 757s # .c 757s # .b 757s # .d 757s # .e 757s # Executing: glib/properties-refcount1.test 757s # .f 757s # .d 757s # .d 757s # .c 757s # .e 757s # .b 757s # .f 757s # .d 757s # .c 758s # .e 758s # .f 758s # .c 758s # .b 758s # .d 758s # .e 758s # .c 758s # .f 758s # .e 758s # .b 758s # .d 758s # .c 758s # .f 758s # .e 758s # .c 758s # .b 758s # .e 758s # .d 758s # .c 758s # .e 758s # .f 758s # .b 758s # .d 758s # .c 758s # .f 758s # .e 758s # .b 758s # .f 758s # .d 758s # .e 758s # .d 758s # .c 758s # .f 758s # .d 758s # .b 758s # .d 758s # .e 758s # .d 758s # .d 758s # .c 758s # .b 758s # .f 758s # .d 758s # .e 758s # .c 758s # .d 758s # .b 758s # .f 758s # .c 758s # .d 758s # .e 758s # .c 758s # .b 758s # .f 758s # .d 758s # .e 758s # .b 758s # .f 758s # .c 758s ok 1 /gobject/refcount/properties-1 758s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 758s # End of refcount tests 758s # End of gobject tests 758s ok - glib/properties-refcount1.test 758s # Running test: glib/socket-address.test 758s TAP version 13 758s # random seed: R02S8991f23be58b32dcd1131790af98d471 758s 1..2 758s # Start of socket tests 758s # Start of address tests 758s # Start of unix tests 758s ok 1 /socket/address/unix/construct 758s ok 2 /socket/address/unix/to-string 758s # End of unix tests 758s # End of address tests 758s # End of socket tests 758s ok - glib/socket-address.test 758s # Running test: glib/hostutils.test 758s TAP version 13 758s # random seed: R02Se7859823474b24f37e4c8287983b44e7 758s 1..3 758s # Start of hostutils tests 758s ok 1 /hostutils/to_ascii 758s ok 2 /hostutils/to_unicode 758s ok 3 /hostutils/is_ip_addr 758s # End of hostutils tests 758s ok - glib/hostutils.test 758s # Running test: glib/deftype.test 758s ok - glib/deftype.test 758s # Running test: glib/gdbus-introspection.test 758s TAP version 13 758s # random seed: R02Sc2f2c3cfc7985651b1ffa63c47f8faec 758s 1..4 758s # Start of gdbus tests 758s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/home 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/cache 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/system-config2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/config 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/system-data2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/data 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/state 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-parser/.dirs/runtime 758s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 758s ok 1 /gdbus/introspection-parser 758s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/home 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/cache 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/system-config2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/config 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/system-data2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/data 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/state 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-generate/.dirs/runtime 758s ok 2 /gdbus/introspection-generate 758s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/home 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/cache 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/system-config2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/config 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/system-data2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/data 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/state 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-default-direction/.dirs/runtime 758s ok 3 /gdbus/introspection-default-direction 758s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/home 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/cache 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/system-config2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/config 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/system-data2 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/data 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/state 758s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_B4CMK2/gdbus/introspection-extra-data/.dirs/runtime 758s ok 4 /gdbus/introspection-extra-data 758s # End of gdbus tests 758s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 758s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 758s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 758s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 758s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 758s ok - glib/gdbus-introspection.test 758s # Running test: glib/signals.test 758s TAP version 13 758s # random seed: R02S9909ed3d03c2430d0a95c6f6ac65622e 758s 1..31 758s # Start of gobject tests 758s # Start of signals tests 758s ok 1 /gobject/signals/all-types 758s ok 2 /gobject/signals/variant 758s ok 3 /gobject/signals/destroy-target-object 758s ok 4 /gobject/signals/generic-marshaller-1 758s ok 5 /gobject/signals/generic-marshaller-2 758s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 758s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 758s ok 8 /gobject/signals/generic-marshaller-int-return 758s ok 9 /gobject/signals/generic-marshaller-uint-return 758s ok 10 /gobject/signals/generic-marshaller-interface-return 758s ok 11 /gobject/signals/custom-marshaller 758s ok 12 /gobject/signals/connect 758s ok 13 /gobject/signals/emission-hook 758s ok 14 /gobject/signals/emitv 758s ok 15 /gobject/signals/accumulator 758s # Signal: accumulator-class-first 758s # Signal: accumulator-class-last 758s # Signal: accumulator-class-cleanup 758s # Signal: accumulator-class-first-last 758s # Signal: accumulator-class-first-last-cleanup 758s # Signal: accumulator-class-last-cleanup 758s ok 16 /gobject/signals/accumulator-class 758s ok 17 /gobject/signals/introspection 758s ok 18 /gobject/signals/block-handler 758s ok 19 /gobject/signals/stop-emission 758s ok 20 /gobject/signals/invocation-hint 758s ok 21 /gobject/signals/test-disconnection-wrong-object 758s ok 22 /gobject/signals/clear-signal-handler 758s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 758s ok 23 /gobject/signals/lookup 758s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 758s ok 24 /gobject/signals/parse-name 758s ok 25 /gobject/signals/is-valid-name 758s ok 26 /gobject/signals/weak-ref-disconnect 758s # Start of lookup tests 758s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 758s ok 27 /gobject/signals/lookup/invalid 758s # End of lookup tests 758s # Start of parse-name tests 758s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 758s # Parser input: 758s # Parser input: 7zip 758s # Parser input: invalid:signal 758s # Parser input: simple-detailed:: 758s # Parser input: simple-detailed: 758s # Parser input: : 758s # Parser input: :: 758s # Parser input: :valid-detail 758s # Parser input: ::valid-detail 758s ok 28 /gobject/signals/parse-name/invalid 758s # End of parse-name tests 758s # Start of invalid-name tests 758s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 758s ok 29 /gobject/signals/invalid-name/colon 758s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 758s ok 30 /gobject/signals/invalid-name/first-char 758s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 758s ok 31 /gobject/signals/invalid-name/empty 758s # End of invalid-name tests 758s # End of signals tests 758s # End of gobject tests 758s ok - glib/signals.test 758s # Running test: glib/cxx-2b.test 758s TAP version 13 758s # random seed: R02Sefd694cfe038d658584e6268e3182f9c 758s 1..2 758s # Start of gtask tests 758s # 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. 758s ok 1 /gtask/name 758s # Start of name tests 758s # 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. 758s ok 2 /gtask/name/macro-wrapper 758s # End of name tests 758s # End of gtask tests 758s ok - glib/cxx-2b.test 758s # Running test: glib/gsubprocess.test 758s TAP version 13 758s # random seed: R02Sb1db68d6e97083c4ea7dd4f793da33eb 758s 1..83 758s # Start of gsubprocess tests 758s ok 1 /gsubprocess/noop 758s ok 2 /gsubprocess/noop-all-to-null 758s ok 3 /gsubprocess/noop-no-wait 758s ok 4 /gsubprocess/noop-stdin-inherit 758s ok 5 /gsubprocess/search-path 758s ok 6 /gsubprocess/search-path-from-envp 761s ok 7 /gsubprocess/signal 761s # slow test /gsubprocess/signal executed in 3.14 secs 761s ok 8 /gsubprocess/exit1 761s ok 9 /gsubprocess/echo1 761s ok 10 /gsubprocess/echo-merged 761s ok 11 /gsubprocess/cat-utf8 762s # Executing: glib/gsubprocess.test 762s ok 12 /gsubprocess/cat-eof 762s # slow test /gsubprocess/cat-eof executed in 1.00 secs 765s ok 13 /gsubprocess/multi1 765s # slow test /gsubprocess/multi1 executed in 3.03 secs 765s ok 14 /gsubprocess/communicate 770s # Executing: glib/gsubprocess.test 770s ok 15 /gsubprocess/terminate 770s # slow test /gsubprocess/terminate executed in 2.95 secs 770s ok 16 /gsubprocess/env 770s ok 17 /gsubprocess/cwd 770s ok 18 /gsubprocess/launcher-close 770s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 770s ok 19 /gsubprocess/stdout-file 770s ok 20 /gsubprocess/stdout-fd 770s ok 21 /gsubprocess/child-setup 770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 770s ok 22 /gsubprocess/launcher-environment 770s # Start of exit1 tests 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 770s ok 23 /gsubprocess/exit1/cancel 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 770s ok 24 /gsubprocess/exit1/cancel_in_cb 770s # End of exit1 tests 770s # Start of communicate tests 770s ok 25 /gsubprocess/communicate/cancelled 770s ok 26 /gsubprocess/communicate/async 770s ok 27 /gsubprocess/communicate/utf8 770s # hello world 770s ok 28 /gsubprocess/communicate/no-pipes 770s ok 29 /gsubprocess/communicate/separate-stderr 770s ok 30 /gsubprocess/communicate/stdout-only 770s # hello world 770s ok 31 /gsubprocess/communicate/stderr-only 770s ok 32 /gsubprocess/communicate/stdout-silence 770s ok 33 /gsubprocess/communicate/nothing 770s # Start of async tests 770s ok 34 /gsubprocess/communicate/async/cancelled 770s # hello world 770s ok 35 /gsubprocess/communicate/async/no-pipes 770s ok 36 /gsubprocess/communicate/async/separate-stderr 770s ok 37 /gsubprocess/communicate/async/stdout-only 770s # hello world 770s ok 38 /gsubprocess/communicate/async/stderr-only 770s ok 39 /gsubprocess/communicate/async/stdout-silence 770s # Start of cancelled tests 770s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 770s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 770s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 770s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 770s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 770s # End of cancelled tests 770s # End of async tests 770s # Start of utf8 tests 770s ok 45 /gsubprocess/communicate/utf8/cancelled 770s ok 46 /gsubprocess/communicate/utf8/async 770s # hello world 770s ok 47 /gsubprocess/communicate/utf8/no-pipes 770s ok 48 /gsubprocess/communicate/utf8/separate-stderr 770s ok 49 /gsubprocess/communicate/utf8/stdout-only 770s # hello world 770s ok 50 /gsubprocess/communicate/utf8/stderr-only 770s ok 51 /gsubprocess/communicate/utf8/stdout-silence 770s ok 52 /gsubprocess/communicate/utf8/invalid 770s # Start of async tests 770s ok 53 /gsubprocess/communicate/utf8/async/cancelled 770s # hello world 770s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 770s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 770s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 770s # hello world 770s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 770s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 770s ok 59 /gsubprocess/communicate/utf8/async/invalid 770s # Start of cancelled tests 770s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 770s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 770s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 770s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 770s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 770s # End of cancelled tests 770s # End of async tests 770s # Start of cancelled tests 770s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 770s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 770s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 770s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 770s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 770s # End of cancelled tests 770s # End of utf8 tests 770s # Start of cancelled tests 770s ok 70 /gsubprocess/communicate/cancelled/no-pipes 770s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 770s ok 72 /gsubprocess/communicate/cancelled/stdout-only 770s ok 73 /gsubprocess/communicate/cancelled/stderr-only 770s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 770s # End of cancelled tests 770s # End of communicate tests 770s # Start of env tests 770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 770s ok 75 /gsubprocess/env/inherit 770s # End of env tests 770s # Start of pass-fd tests 770s ok 76 /gsubprocess/pass-fd/basic 770s ok 77 /gsubprocess/pass-fd/empty-child-setup 770s ok 78 /gsubprocess/pass-fd/inherit-fds 770s # End of pass-fd tests 770s # Start of fd-conflation tests 770s ok 79 /gsubprocess/fd-conflation/basic 770s ok 80 /gsubprocess/fd-conflation/empty-child-setup 770s ok 81 /gsubprocess/fd-conflation/inherit-fds 770s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 770s # End of fd-conflation tests 770s # Start of exit-status tests 770s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 770s ok 83 /gsubprocess/exit-status/trapped 770s # End of exit-status tests 770s # End of gsubprocess tests 770s ok - glib/gsubprocess.test 770s # Running test: glib/portal-support-flatpak-full.test 770s TAP version 13 770s # random seed: R02S8969dd562e2cbd9a6815ff1a12d8854b 770s 1..1 770s # Start of portal-support tests 770s # Start of flatpak tests 770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/home 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/cache 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/system-config2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/config 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/system-data2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/data 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/state 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/runtime 770s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_BP0YK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 770s ok 1 /portal-support/flatpak/full 770s # End of flatpak tests 770s # End of portal-support tests 770s ok - glib/portal-support-flatpak-full.test 770s # Running test: glib/socket-service.test 770s TAP version 13 770s # random seed: R02Saa4c3eaa125892df186e261b7ad8b94a 770s 1..4 770s # Start of socket-service tests 770s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b413f7b350 and GSocketClientAsyncConnectData 0xc1b413f73630 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s ok 1 /socket-service/start-stop 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b413f7ceb0 and GSocketClientAsyncConnectData 0xc1b413f7cc50 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b413f7d3c0 for GSocketClientAsyncConnectData 0xc1b413f73630 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b413f7e240 for GSocketClientAsyncConnectData 0xc1b413f7cc50 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 2 /socket-service/read_write_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b413f80f90 and GSocketClientAsyncConnectData 0xc1b413f7e9b0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b413f7f170 for GSocketClientAsyncConnectData 0xc1b413f7e9b0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 3 /socket-service/read_writev_async 770s # Start of threaded tests 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b413f826f0 and GSocketClientAsyncConnectData 0xc1b413f7ed30 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b413f82920 for GSocketClientAsyncConnectData 0xc1b413f7ed30 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 4 /socket-service/threaded/712570 770s # End of threaded tests 770s # End of socket-service tests 770s ok - glib/socket-service.test 770s # Running test: glib/accumulator.test 770s TAP version 13 770s # random seed: R02Scb68af99ab66e209b4386697d44c26be 770s 1..1 770s # Start of gobject tests 770s ok 1 /gobject/accumulator 770s # End of gobject tests 770s ok - glib/accumulator.test 770s # Running test: glib/objects-refcount1.test 770s TAP version 13 770s # random seed: R02Sd7a7e1f530152a7c7e10092586342e20 770s 1..1 770s # Start of gobject tests 770s # Start of refcount tests 770s # init 0xbb5e5f52d750 770s # 770s # init 0xbb5e5f52d8e0 770s # 773s # Executing: glib/objects-refcount1.test 774s # dispose 0xbb5e5f52d750! 774s # 774s # dispose 0xbb5e5f52d8e0! 774s # 774s ok 1 /gobject/refcount/object-basics 774s # slow test /gobject/refcount/object-basics executed in 5.01 secs 774s # End of refcount tests 774s # End of gobject tests 774s ok - glib/objects-refcount1.test 774s # Running test: glib/mem-overflow.test 774s TAP version 13 774s # random seed: R02S6fbed272d5d6df585bee8ca714d9af39 774s 1..2 774s # Start of mem tests 774s ok 1 /mem/overflow 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 774s ok 2 /mem/empty-alloc 774s # Start of overflow tests 774s # Start of subprocess tests 774s # End of subprocess tests 774s # End of overflow tests 774s # Start of empty-alloc tests 774s # End of empty-alloc tests 774s # End of mem tests 774s ok - glib/mem-overflow.test 774s # Running test: glib/converter-stream.test 774s TAP version 13 774s # random seed: R02S9903a01a59d611a664d891914a7e205c 774s 1..17 774s # Start of converter tests 774s ok 1 /converter/basics 774s # End of converter tests 774s # Start of converter-input-stream tests 774s ok 2 /converter-input-stream/expander 774s ok 3 /converter-input-stream/compressor 774s # Start of truncation tests 774s ok 4 /converter-input-stream/truncation/zlib 774s ok 5 /converter-input-stream/truncation/gzip 774s ok 6 /converter-input-stream/truncation/raw 774s # End of truncation tests 774s # Start of charset tests 774s ok 7 /converter-input-stream/charset/utf8->latin1 774s ok 8 /converter-input-stream/charset/latin1->utf8 774s ok 9 /converter-input-stream/charset/fallbacks 774s # End of charset tests 774s # End of converter-input-stream tests 774s # Start of converter-output-stream tests 774s # Start of roundtrip tests 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 774s ok 10 /converter-output-stream/roundtrip/zlib-0 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 774s ok 11 /converter-output-stream/roundtrip/zlib-9 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 774s ok 12 /converter-output-stream/roundtrip/gzip-0 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 774s ok 13 /converter-output-stream/roundtrip/gzip-9 774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 775s ok 14 /converter-output-stream/roundtrip/raw-0 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 775s ok 15 /converter-output-stream/roundtrip/raw-9 775s # End of roundtrip tests 775s # End of converter-output-stream tests 775s # Start of converter-stream tests 775s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 775s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbbd2a6b84dd0 and GSocketClientAsyncConnectData 0xbbd2a6f7a330 775s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 775s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 775s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbbd2a6b95550 for GSocketClientAsyncConnectData 0xbbd2a6f7a330 775s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 775s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 775s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 775s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 775s ok 16 /converter-stream/pollable 775s ok 17 /converter-stream/leftover 775s # End of converter-stream tests 775s ok - glib/converter-stream.test 775s # Running test: glib/sequence.test 775s TAP version 13 775s # random seed: R02Sdf08ab6507f0d706509f25bd4c901502 775s 1..16 775s # Start of sequence tests 775s ok 1 /sequence/out-of-range-jump 775s ok 2 /sequence/iter-move 775s ok 3 /sequence/insert-sorted-non-pointer 775s ok 4 /sequence/stable-sort 775s ok 5 /sequence/is_empty 775s # Start of random tests 775s ok 6 /sequence/random/seed:825541564 775s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 776s ok 7 /sequence/random/seed:801678400 776s # slow test /sequence/random/seed:801678400 executed in 0.52 secs 776s ok 8 /sequence/random/seed:1477639090 776s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 777s ok 9 /sequence/random/seed:3369132895 777s # Executing: glib/sequence.test 777s ok 10 /sequence/random/seed:1192944867 777s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs 778s ok 11 /sequence/random/seed:770458294 778s # slow test /sequence/random/seed:770458294 executed in 0.55 secs 778s ok 12 /sequence/random/seed:1099575817 778s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 779s ok 13 /sequence/random/seed:590523467 779s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 782s ok 14 /sequence/random/seed:3583571454 782s # slow test /sequence/random/seed:3583571454 executed in 0.55 secs 782s ok 15 /sequence/random/seed:579241222 782s # slow test /sequence/random/seed:579241222 executed in 0.55 secs 782s ok 16 /sequence/random/seed:969561778 782s # slow test /sequence/random/seed:969561778 executed in 0.56 secs 782s # End of random tests 782s # End of sequence tests 782s ok - glib/sequence.test 782s # Running test: glib/spawn-path-search.test 782s TAP version 13 782s # random seed: R02Sbb5aa3fad70a2dc3daa1b277be61a30d 782s 1..7 782s # Start of spawn tests 782s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 782s # 782s # this is spawn-test-helper from glib/tests 782s # 782s ok 1 /spawn/do-not-search 782s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 782s # 782s # this is spawn-test-helper from path-test-subdir 782s # 782s ok 2 /spawn/search-path 782s # /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. 782s # 782s # this is spawn-test-helper from path-test-subdir 782s # 782s ok 3 /spawn/search-path-from-envp 782s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 782s # 782s # this is spawn-test-helper from path-test-subdir 782s # 782s ok 4 /spawn/search-path-ambiguous 782s # 782s # this is spawn-test-helper from path-test-subdir 782s # 782s ok 5 /spawn/search-path-heap-allocation 782s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 782s # 782s # this is spawn-test-helper from glib/tests 782s # 782s ok 6 /spawn/search-path-fallback-in-environ 782s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 782s # 782s # this is spawn-test-helper from glib/tests 782s # 782s ok 7 /spawn/search-path-fallback-in-envp 782s # End of spawn tests 782s ok - glib/spawn-path-search.test 782s # Running test: glib/cxx-03.test 782s TAP version 13 782s # random seed: R02S3d238fd6ecea1f7f340ccde3f8250d47 782s 1..2 782s # Start of gtask tests 782s # 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. 782s ok 1 /gtask/name 782s # Start of name tests 782s # 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. 782s ok 2 /gtask/name/macro-wrapper 782s # End of name tests 782s # End of gtask tests 782s ok - glib/cxx-03.test 782s # Running test: glib/cond.test 782s TAP version 13 782s # random seed: R02S512525e05d773f5a37dd1d2b7fba007f 782s 1..4 782s # Start of thread tests 782s ok 1 /thread/cond1 782s ok 2 /thread/cond2 782s # Start of cond tests 782s ok 3 /thread/cond/wait-until 782s # slow test /thread/cond/wait-until executed in 1.02 secs 782s # Start of wait-until tests 782s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 782s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 782s # Executing: glib/cond.test 783s ok 4 /thread/cond/wait-until/contended-and-interrupted 783s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 783s # End of wait-until tests 783s # End of cond tests 783s # End of thread tests 783s ok - glib/cond.test 783s # Running test: glib/assert-msg-test.py.test 783s TAP version 13 783s ok 1 __main__.TestAssertMessage.test_gassert 783s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 783s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 783s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 783s # Error: ** 783s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 783s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 783s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 783s 1..2 783s ok - glib/assert-msg-test.py.test 783s # Running test: glib/properties-refcount2.test 783s TAP version 13 783s # random seed: R02S35e5400dae3a4a394256b93e49382a05 783s 1..1 783s # Start of gobject tests 783s # Start of refcount tests 783s # init 0xc5e7a2406780 783s # 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 783s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # . 784s # dispose 0xc5e7a2406780! 784s # 784s ok 1 /gobject/refcount/properties-2 784s # slow test /gobject/refcount/properties-2 executed in 1.05 secs 784s # End of refcount tests 784s # End of gobject tests 784s ok - glib/properties-refcount2.test 784s # Running test: glib/data-input-stream.test 784s TAP version 13 784s # random seed: R02Sa08d0e86c3272583c3e60382c388657d 784s 1..10 784s # Start of data-input-stream tests 784s ok 1 /data-input-stream/basic 784s ok 2 /data-input-stream/read-lines-LF 784s ok 3 /data-input-stream/read-lines-LF-valid-utf8 784s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 784s ok 5 /data-input-stream/read-lines-CR 784s ok 6 /data-input-stream/read-lines-CR-LF 784s ok 7 /data-input-stream/read-lines-any 784s ok 8 /data-input-stream/read-until 784s ok 9 /data-input-stream/read-upto 784s ok 10 /data-input-stream/read-int 784s # End of data-input-stream tests 784s ok - glib/data-input-stream.test 784s # Running test: glib/null-settings-backend.test 784s TAP version 13 784s # random seed: R02Sea64e2c2d3b474e935bfee554d51e79d 784s 1..1 784s # Start of null-settings-backend tests 784s ok 1 /null-settings-backend/extension-point-registered 784s # End of null-settings-backend tests 784s ok - glib/null-settings-backend.test 784s # Running test: glib/gdbus-proxy-unique-name.test 784s TAP version 13 784s # random seed: R02Se0d60f30d85af56aa2a2d021ac06fedb 784s 1..1 784s # Start of gdbus tests 784s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/home 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/cache 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/system-config2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/config 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/system-data2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/data 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/state 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_RH4RK2/gdbus/proxy-unique-name/.dirs/runtime 785s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 785s ok 1 /gdbus/proxy-unique-name 785s # End of gdbus tests 785s ok - glib/gdbus-proxy-unique-name.test 785s # Running test: glib/collate.test 785s TAP version 13 785s # random seed: R02S0ea840bd6da4a019093fd6e06dbdde6f 785s 1..9 785s # Start of unicode tests 785s # Start of collate tests 785s ok 1 /unicode/collate/0 785s ok 2 /unicode/collate/1 785s ok 3 /unicode/collate/2 785s # End of collate tests 785s # Start of collate-key tests 785s ok 4 /unicode/collate-key/0 785s ok 5 /unicode/collate-key/1 785s ok 6 /unicode/collate-key/2 785s # End of collate-key tests 785s # Start of collate-filename tests 785s ok 7 /unicode/collate-filename/0 785s ok 8 /unicode/collate-filename/1 785s ok 9 /unicode/collate-filename/2 785s # End of collate-filename tests 785s # End of unicode tests 785s ok - glib/collate.test 785s # Running test: glib/dynamictype.test 785s TAP version 13 785s # random seed: R02S800b43d00d3f2abdd8d45ee90172bc9f 785s 1..2 785s # Start of gobject tests 785s ok 1 /gobject/dynamic-type 785s # Start of dynamic-type tests 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 785s ok 2 /gobject/dynamic-type/query 785s # End of dynamic-type tests 785s # End of gobject tests 785s ok - glib/dynamictype.test 785s # Running test: glib/proxy-test.test 785s TAP version 13 785s # random seed: R02S847876659c9c2554201de920d87c4545 785s 1..11 785s # Start of proxy tests 785s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 785s ok 1 /proxy/direct_sync 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8efe9a0 and GSocketClientAsyncConnectData 0xb9ccb8ef4270 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8eff3b0 for GSocketClientAsyncConnectData 0xb9ccb8ef4270 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 785s ok 2 /proxy/direct_async 785s ok 3 /proxy/single_sync 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f00cb0 and GSocketClientAsyncConnectData 0xb9ccb8effe00 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f01810 for GSocketClientAsyncConnectData 0xb9ccb8effe00 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 785s ok 4 /proxy/single_async 785s ok 5 /proxy/multiple_sync 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01540 and GSocketClientAsyncConnectData 0xb9ccb8f01310 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f01e90 for GSocketClientAsyncConnectData 0xb9ccb8f01310 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f018a0 for GSocketClientAsyncConnectData 0xb9ccb8f01310 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 785s ok 6 /proxy/multiple_async 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 785s ok 7 /proxy/invalid-uris-sync 785s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01810 and GSocketClientAsyncConnectData 0xb9ccb8f01120 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 785s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f01120 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 785s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f01120 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8efb9e0 for GSocketClientAsyncConnectData 0xb9ccb8f01120 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01540 and GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8eff0c0 for GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 785s ok 8 /proxy/invalid-uris-async 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f01120 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 785s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 785s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f01f50 for GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 785s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f01120 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f026d0 for GSocketClientAsyncConnectData 0xb9ccb8f01120 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 785s ok 9 /proxy/dns 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f02700 for GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 785s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f00bf0 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f02c40 for GSocketClientAsyncConnectData 0xb9ccb8f00bf0 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 785s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 785s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb9ccb8f01290 and GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 785s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb9ccb8f01bc0 for GSocketClientAsyncConnectData 0xb9ccb8f01600 785s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 785s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 785s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 785s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 785s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 785s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 785s ok 10 /proxy/override 785s ok 11 /proxy/enumerator-ports 785s # End of proxy tests 785s ok - glib/proxy-test.test 785s # Running test: glib/gmenumodel.test 785s TAP version 13 785s # random seed: R02Sa93f833f5f3ff2d2ebda12015116930b 785s 1..14 785s # Start of gmenu tests 785s ok 1 /gmenu/equality 785s # slow test /gmenu/equality executed in 0.62 secs 786s ok 2 /gmenu/random 786s # slow test /gmenu/random executed in 0.67 secs 786s ok 3 /gmenu/attributes 786s ok 4 /gmenu/links 786s ok 5 /gmenu/mutable 786s ok 6 /gmenu/convenience 786s ok 7 /gmenu/menuitem 786s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 786s ok 8 /gmenu/input-validation 786s # Start of dbus tests 786s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 787s ok 9 /gmenu/dbus/roundtrip 787s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 787s # Executing: glib/gmenumodel.test 787s ok 10 /gmenu/dbus/subscriptions 788s ok 11 /gmenu/dbus/threaded 788s # slow test /gmenu/dbus/threaded executed in 0.74 secs 788s # Start of peer tests 789s ok 12 /gmenu/dbus/peer/roundtrip 789s # slow test /gmenu/dbus/peer/roundtrip executed in 1.08 secs 789s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 789s # End of peer tests 789s # End of dbus tests 789s # Start of attributes tests 789s ok 14 /gmenu/attributes/iterate 789s # End of attributes tests 789s # End of gmenu tests 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 789s ok - glib/gmenumodel.test 789s # Running test: glib/overflow.test 789s TAP version 13 789s # random seed: R02S2f2cd31720865056c1f864e373f33478 789s 1..6 789s # Start of glib tests 789s # Start of checked-math tests 789s ok 1 /glib/checked-math/guint-add 789s ok 2 /glib/checked-math/guint-mul 789s ok 3 /glib/checked-math/guint64-add 789s ok 4 /glib/checked-math/guint64-mul 789s ok 5 /glib/checked-math/gsize-add 789s ok 6 /glib/checked-math/gsize-mul 789s # End of checked-math tests 789s # End of glib tests 789s ok - glib/overflow.test 789s # Running test: glib/gdbus-connection-flush.test 789s TAP version 13 789s # random seed: R02S0e7e56f2ce00700271fdef67cce9e6c3 789s 1..2 789s # Start of gdbus tests 789s # Start of connection tests 789s # Start of flush tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/busy/.dirs/runtime 789s ok 1 /gdbus/connection/flush/busy 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_ASMJK2/gdbus/connection/flush/idle/.dirs/runtime 789s ok 2 /gdbus/connection/flush/idle 789s # End of flush tests 789s # End of connection tests 789s # End of gdbus tests 789s ok - glib/gdbus-connection-flush.test 789s # Running test: glib/async-close-output-stream.test 789s TAP version 13 789s # random seed: R02Sc65604aefc92230dff4302b91e66ed1b 789s 1..3 789s # Start of close-async tests 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 789s ok 1 /close-async/without-flush 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 789s ok 2 /close-async/with-flush 789s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 789s ok 3 /close-async/with-async-flush 789s # End of close-async tests 789s ok - glib/async-close-output-stream.test 789s # Running test: glib/gdbus-error.test 789s TAP version 13 789s # random seed: R02S4b5deb728fe59692c45596c42280b9db 789s 1..4 789s # Start of gdbus tests 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_OI4SK2/gdbus/registered-errors/.dirs/runtime 789s ok 1 /gdbus/registered-errors 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_OI4SK2/gdbus/unregistered-errors/.dirs/runtime 789s ok 2 /gdbus/unregistered-errors 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_OI4SK2/gdbus/transparent-gerror/.dirs/runtime 789s ok 3 /gdbus/transparent-gerror 789s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/home 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/cache 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/system-config2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/config 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/system-data2 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/data 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/state 789s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_OI4SK2/gdbus/register-error/.dirs/runtime 789s ok 4 /gdbus/register-error 789s # End of gdbus tests 789s ok - glib/gdbus-error.test 789s # Running test: glib/giomodule.test 789s TAP version 13 789s # random seed: R02S91647ad7e641ee30166a701106a7a21f 789s 1..3 789s # Start of giomodule tests 789s ok 1 /giomodule/extension-point 789s ok 2 /giomodule/module-scan-all 789s ok 3 /giomodule/module-scan-all-with-scope 789s # End of giomodule tests 789s ok - glib/giomodule.test 789s # Running test: glib/genmarshal.py.test 789s TAP version 13 789s ok 1 __main__.TestGenmarshal.test_empty_list 789s # tmpdir: /tmp/tmpzc57mqei 789s # genmarshal: /usr/bin/glib-genmarshal 789s # /tmp/tmpzc57mqei/tmpt786hfhg.list: 789s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzc57mqei/tmpt786hfhg.list', '--header', '--quiet'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 789s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 789s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 789s # 789s # #include 789s # 789s # G_BEGIN_DECLS 789s # 789s # 789s # G_END_DECLS 789s # 789s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 789s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzc57mqei/tmpt786hfhg.list', '--body', '--quiet'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 789s # #include 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 790s ok 2 __main__.TestGenmarshal.test_help 790s # tmpdir: /tmp/tmpmga4h3y5 790s # genmarshal: /usr/bin/glib-genmarshal 790s # Running: ['/usr/bin/glib-genmarshal', '--help'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 790s # [--internal] [--valist-marshallers] [-v] 790s # [--g-fatal-warnings] [--include-header [HEADER]] 790s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 790s # [--prototypes] [--header] [--body] 790s # [--stdinc | --nostdinc] [--quiet | --verbose] 790s # [FILE ...] 790s # 790s # Generate signal marshallers for GObject 790s # 790s # positional arguments: 790s # FILE Files with lists of marshallers to generate, or "-" 790s # for standard input 790s # 790s # options: 790s # -h, --help show this help message and exit 790s # --prefix STRING Specify marshaller prefix 790s # --output FILE Write output into the specified file 790s # --skip-source Skip source location comments 790s # --internal Mark generated functions as internal 790s # --valist-marshallers Generate va_list marshallers 790s # -v, --version Print version information, and exit 790s # --g-fatal-warnings Make warnings fatal 790s # --include-header [HEADER] 790s # Include the specified header in the body 790s # --pragma-once Use "pragma once" as the inclusion guard 790s # -D CPP_DEFINES Pre-processor define 790s # -U CPP_UNDEFINES Pre-processor undefine 790s # --prototypes Generate the marshallers prototype in the C code 790s # --header Generate C headers 790s # --body Generate C code 790s # --stdinc Include standard marshallers 790s # --nostdinc Use standard marshallers 790s # --quiet Only print warnings and errors 790s # --verbose Be verbose, and include debugging information 790s ok 3 __main__.TestGenmarshal.test_no_args 790s # tmpdir: /tmp/tmpojvr_1pg 790s # genmarshal: /usr/bin/glib-genmarshal 790s # Running: ['/usr/bin/glib-genmarshal'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: 790s ok 4 __main__.TestGenmarshal.test_void_boolean 790s # tmpdir: /tmp/tmp0a_q_uoz 790s # genmarshal: /usr/bin/glib-genmarshal 790s # /tmp/tmp0a_q_uoz/tmpqoo24tei.list: VOID:BOOLEAN 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0a_q_uoz/tmpqoo24tei.list', '--header', '--quiet'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # 790s # #include 790s # 790s # G_BEGIN_DECLS 790s # 790s # /* VOID:BOOLEAN (/tmp/tmp0a_q_uoz/tmpqoo24tei.list:1) */ 790s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0a_q_uoz/tmpqoo24tei.list', '--body', '--quiet'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #include 790s # 790s # #ifdef G_ENABLE_DEBUG 790s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 790s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 790s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 790s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 790s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 790s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 790s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 790s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 790s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 790s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 790s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 790s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 790s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 790s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 790s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 790s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 790s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 790s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 790s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 790s # #else /* !G_ENABLE_DEBUG */ 790s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 790s # * Do not access GValues directly in your code. Instead, use the 790s # * g_value_get_*() functions 790s # */ 790s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 790s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 790s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 790s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 790s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 790s # #endif /* !G_ENABLE_DEBUG */ 790s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 790s # tmpdir: /tmp/tmpm853rohw 790s # genmarshal: /usr/bin/glib-genmarshal 790s # /tmp/tmpm853rohw/tmpj66h8wn6.list: VOID:BOOLEAN,INT64 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpm853rohw/tmpj66h8wn6.list', '--header', '--quiet'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # 790s # #include 790s # 790s # G_BEGIN_DECLS 790s # 790s # /* VOID:BOOLEAN,INT64 (/tmp/tmpm853rohw/tmpj66h8wn6.list:1) */ 790s # extern 790s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 790s # GValue *return_value, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint, 790s # gpointer marshal_data); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpm853rohw/tmpj66h8wn6.list', '--body', '--quiet'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #include 790s # 790s # #ifdef G_ENABLE_DEBUG 790s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 790s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 790s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 790s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 790s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 790s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 790s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 790s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 790s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 790s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 790s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 790s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 790s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 790s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 790s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 790s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 790s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 790s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 790s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 790s # #else /* !G_ENABLE_DEBUG */ 790s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 790s # * Do not access GValues directly in your code. Instead, use the 790s # * g_value_get_*() functions 790s # */ 790s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 790s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 790s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 790s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 790s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 790s # #endif /* !G_ENABLE_DEBUG */ 790s # 790s # /* VOID:BOOLEAN,INT64 (/tmp/tmpm853rohw/tmpj66h8wn6.list:1) */ 790s # void 790s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 790s # GValue *return_value G_GNUC_UNUSED, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint G_GNUC_UNUSED, 790s # gpointer marshal_data) 790s # { 790s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 790s # gboolean arg1, 790s # gint64 arg2, 790s # gpointer data2); 790s # GCClosure *cc = (GCClosure *) closure; 790s # gpointer data1, data2; 790s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 790s # 790s # g_return_if_fail (n_param_values == 3); 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = g_value_peek_pointer (param_values + 0); 790s # } 790s # else 790s # { 790s # data1 = g_value_peek_pointer (param_values + 0); 790s # data2 = closure->data; 790s # } 790s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 790s # 790s # callback (data1, 790s # g_marshal_value_peek_boolean (param_values + 1), 790s # g_marshal_value_peek_int64 (param_values + 2), 790s # data2); 790s # } 790s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 790s # tmpdir: /tmp/tmpu1izfmit 790s # genmarshal: /usr/bin/glib-genmarshal 790s # /tmp/tmpu1izfmit/tmp4u9ffgzk.list: VOID:PARAM 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu1izfmit/tmp4u9ffgzk.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # 790s # G_BEGIN_DECLS 790s # 790s # /* VOID:PARAM (/tmp/tmpu1izfmit/tmp4u9ffgzk.list:1) */ 790s # extern 790s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 790s # GValue *return_value, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint, 790s # gpointer marshal_data); 790s # extern 790s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 790s # GValue *return_value, 790s # gpointer instance, 790s # va_list args, 790s # gpointer marshal_data, 790s # int n_params, 790s # GType *param_types); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu1izfmit/tmp4u9ffgzk.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifdef G_ENABLE_DEBUG 790s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 790s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 790s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 790s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 790s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 790s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 790s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 790s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 790s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 790s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 790s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 790s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 790s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 790s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 790s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 790s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 790s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 790s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 790s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 790s # #else /* !G_ENABLE_DEBUG */ 790s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 790s # * Do not access GValues directly in your code. Instead, use the 790s # * g_value_get_*() functions 790s # */ 790s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 790s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 790s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 790s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 790s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 790s # #endif /* !G_ENABLE_DEBUG */ 790s # 790s # /* VOID:PARAM (/tmp/tmpu1izfmit/tmp4u9ffgzk.list:1) */ 790s # void 790s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 790s # GValue *return_value G_GNUC_UNUSED, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint G_GNUC_UNUSED, 790s # gpointer marshal_data) 790s # { 790s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 790s # gpointer arg1, 790s # gpointer data2); 790s # GCClosure *cc = (GCClosure *) closure; 790s # gpointer data1, data2; 790s # GMarshalFunc_VOID__PARAM callback; 790s # 790s # g_return_if_fail (n_param_values == 2); 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = g_value_peek_pointer (param_values + 0); 790s # } 790s # else 790s # { 790s # data1 = g_value_peek_pointer (param_values + 0); 790s # data2 = closure->data; 790s # } 790s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 790s # 790s # callback (data1, 790s # g_marshal_value_peek_param (param_values + 1), 790s # data2); 790s # } 790s # 790s # void 790s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 790s # GValue *return_value G_GNUC_UNUSED, 790s # gpointer instance, 790s # va_list args, 790s # gpointer marshal_data, 790s # int n_params, 790s # GType *param_types) 790s # { 790s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 790s # gpointer arg1, 790s # gpointer data2); 790s # GCClosure *cc = (GCClosure *) closure; 790s # gpointer data1, data2; 790s # GMarshalFunc_VOID__PARAM callback; 790s # gpointer arg0; 790s # va_list args_copy; 790s # 790s # va_copy (args_copy, args); 790s # arg0 = (gpointer) va_arg (args_copy, gpointer); 790s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 790s # arg0 = g_param_spec_ref (arg0); 790s # va_end (args_copy); 790s # 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = instance; 790s # } 790s # else 790s # { 790s # data1 = instance; 790s # data2 = closure->data; 790s # } 790s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 790s # 790s # callback (data1, 790s # arg0, 790s # data2); 790s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 790s # g_param_spec_unref (arg0); 790s # } 790s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 790s # tmpdir: /tmp/tmp9zwevoqu 790s # genmarshal: /usr/bin/glib-genmarshal 790s # /tmp/tmp9zwevoqu/tmp_giiwe3d.list: VOID:STRING 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9zwevoqu/tmp_giiwe3d.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # 790s # G_BEGIN_DECLS 790s # 790s # /* VOID:STRING (/tmp/tmp9zwevoqu/tmp_giiwe3d.list:1) */ 790s # extern 790s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 790s # GValue *return_value, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint, 790s # gpointer marshal_data); 790s # extern 790s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 790s # GValue *return_value, 790s # gpointer instance, 790s # va_list args, 790s # gpointer marshal_data, 790s # int n_params, 790s # GType *param_types); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9zwevoqu/tmp_giiwe3d.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifdef G_ENABLE_DEBUG 790s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 790s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 790s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 790s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 790s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 790s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 790s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 790s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 790s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 790s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 790s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 790s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 790s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 790s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 790s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 790s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 790s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 790s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 790s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 790s # #else /* !G_ENABLE_DEBUG */ 790s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 790s # * Do not access GValues directly in your code. Instead, use the 790s # * g_value_get_*() functions 790s # */ 790s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 790s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 790s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 790s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 790s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 790s # #endif /* !G_ENABLE_DEBUG */ 790s # 790s # /* VOID:STRING (/tmp/tmp9zwevoqu/tmp_giiwe3d.list:1) */ 790s # void 790s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 790s # GValue *return_value G_GNUC_UNUSED, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint G_GNUC_UNUSED, 790s # gpointer marshal_data) 790s # { 790s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 790s # gpointer arg1, 790s # gpointer data2); 790s # GCClosure *cc = (GCClosure *) closure; 790s # gpointer data1, data2; 790s # GMarshalFunc_VOID__STRING callback; 790s # 790s # g_return_if_fail (n_param_values == 2); 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = g_value_peek_pointer (param_values + 0); 790s # } 790s # else 790s # { 790s # data1 = g_value_peek_pointer (param_values + 0); 790s # data2 = closure->data; 790s # } 790s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 790s # 790s # callback (data1, 790s # g_marshal_value_peek_string (param_values + 1), 790s # data2); 790s # } 790s # 790s # void 790s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 790s # GValue *return_value G_GNUC_UNUSED, 790s # gpointer instance, 790s # va_list args, 790s # gpointer marshal_data, 790s # int n_params, 790s # GType *param_types) 790s # { 790s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 790s # gpointer arg1, 790s # gpointer data2); 790s # GCClosure *cc = (GCClosure *) closure; 790s # gpointer data1, data2; 790s # GMarshalFunc_VOID__STRING callback; 790s # gpointer arg0; 790s # va_list args_copy; 790s # 790s # va_copy (args_copy, args); 790s # arg0 = (gpointer) va_arg (args_copy, gpointer); 790s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 790s # arg0 = g_strdup (arg0); 790s # va_end (args_copy); 790s # 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = instance; 790s # } 790s # else 790s # { 790s # data1 = instance; 790s # data2 = closure->data; 790s # } 790s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 790s # 790s # callback (data1, 790s # arg0, 790s # data2); 790s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 790s # g_free (arg0); 790s # } 790s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 790s # tmpdir: /tmp/tmp4f4ohxdd 790s # genmarshal: /usr/bin/glib-genmarshal 790s # /tmp/tmp4f4ohxdd/tmpnkif9y6l.list: VOID:VARIANT 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4f4ohxdd/tmpnkif9y6l.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 790s # 790s # G_BEGIN_DECLS 790s # 790s # /* VOID:VARIANT (/tmp/tmp4f4ohxdd/tmpnkif9y6l.list:1) */ 790s # extern 790s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 790s # GValue *return_value, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint, 790s # gpointer marshal_data); 790s # extern 790s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 790s # GValue *return_value, 790s # gpointer instance, 790s # va_list args, 790s # gpointer marshal_data, 790s # int n_params, 790s # GType *param_types); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 790s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4f4ohxdd/tmpnkif9y6l.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 790s # #ifdef G_ENABLE_DEBUG 790s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 790s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 790s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 790s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 790s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 790s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 790s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 790s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 790s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 790s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 790s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 790s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 790s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 790s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 790s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 790s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 790s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 790s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 790s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 790s # #else /* !G_ENABLE_DEBUG */ 790s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 790s # * Do not access GValues directly in your code. Instead, use the 790s # * g_value_get_*() functions 790s # */ 790s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 790s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 790s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 790s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 790s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 790s # #endif /* !G_ENABLE_DEBUG */ 790s # 790s # /* VOID:VARIANT (/tmp/tmp4f4ohxdd/tmpnkif9y6l.list:1) */ 790s # void 790s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 790s # GValue *return_value G_GNUC_UNUSED, 790s # guint n_param_values, 790s # const GValue *param_values, 790s # gpointer invocation_hint G_GNUC_UNUSED, 790s # gpointer marshal_data) 790s # { 790s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 790s # gpointer arg1, 790s # gpointer data2); 790s # GCClosure *cc = (GCClosure *) closure; 790s # gpointer data1, data2; 790s # GMarshalFunc_VOID__VARIANT callback; 790s # 790s # g_return_if_fail (n_param_values == 2); 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = g_value_peek_pointer (param_values + 0); 790s # } 790s # else 790s # { 790s # data1 = g_value_peek_pointer (param_values + 0); 790s # data2 = closure->data; 790s # } 790s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 790s # 790s # callback (data1, 790s # g_marshal_value_peek_variant (param_values + 1), 790s # data2); 790s # } 790s # 790s # void 790s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 790s # GValue *return_value G_GNUC_UNUSED, 790s # gpointer instance, 790s # va_list args, 790s # gpointer marshal_data, 790s # int n_params, 790s # GType *param_types) 790s # { 790s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 790s # gpointer arg1, 790s # gpointer data2); 790s # GCClosure *cc = (GCClosure *) closure; 790s # gpointer data1, data2; 790s # GMarshalFunc_VOID__VARIANT callback; 790s # gpointer arg0; 790s # va_list args_copy; 790s # 790s # va_copy (args_copy, args); 790s # arg0 = (gpointer) va_arg (args_copy, gpointer); 790s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 790s # arg0 = g_variant_ref_sink (arg0); 790s # va_end (args_copy); 790s # 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = instance; 790s # } 790s # else 790s # { 790s # data1 = instance; 790s # data2 = closure->data; 790s # } 790s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 790s # 790s # callback (data1, 790s # arg0, 790s # data2); 790s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 790s # g_variant_unref (arg0); 790s # } 790s 1..8 790s ok - glib/genmarshal.py.test 790s # Running test: glib/contenttype.test 790s TAP version 13 790s # random seed: R02Sacc0236e5c491ca1d3a714c80e00017f 790s 1..13 790s # Start of contenttype tests 790s ok 1 /contenttype/guess 790s ok 2 /contenttype/guess_svg_from_data 790s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 790s ok 4 /contenttype/unknown 790s ok 5 /contenttype/subtype 790s ok 6 /contenttype/list 790s ok 7 /contenttype/executable 790s ok 8 /contenttype/description 790s ok 9 /contenttype/icon 790s ok 10 /contenttype/symbolic-icon 790s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 790s ok 11 /contenttype/tree 790s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 790s ok 12 /contenttype/tree_invalid_encoding 790s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 790s ok 13 /contenttype/test_type_is_a_special_case 790s # End of contenttype tests 790s ok - glib/contenttype.test 790s # Running test: glib/memory-input-stream.test 790s TAP version 13 790s # random seed: R02Sa4704035107e4fc820cf840f4365184e 790s 1..6 790s # Start of memory-input-stream tests 790s ok 1 /memory-input-stream/read-chunks 790s ok 2 /memory-input-stream/async 790s ok 3 /memory-input-stream/seek 790s ok 4 /memory-input-stream/truncate 790s ok 5 /memory-input-stream/read-bytes 790s ok 6 /memory-input-stream/from-bytes 790s # End of memory-input-stream tests 790s ok - glib/memory-input-stream.test 790s # Running test: glib/application-command-line.test 790s TAP version 13 790s # random seed: R02S7d368835939fe3f39a5a98f2cd76bbb1 790s 1..1 790s # Start of application-command-line tests 790s ok 1 /application-command-line/basic-properties 790s # End of application-command-line tests 790s ok - glib/application-command-line.test 790s # Running test: glib/mimeapps.test 790s TAP version 13 790s # random seed: R02S6e5623f19e1ced688fd41662c5bdc9b1 790s 1..7 790s # Start of appinfo tests 790s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/home 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/cache 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/system-config2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/config 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/system-data2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/state 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/runtime 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/system-data1/applications' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/myapp.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/myapp2.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/myapp3.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/myapp4.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/myapp5.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 790s # removing '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/mimeapps.list' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 790s ok 1 /appinfo/all 790s # Start of mime tests 790s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/home 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/cache 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/system-config2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/system-data2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/state 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/runtime 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/system-data1/applications' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 790s # removing '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OKW1K2/appinfo/all/.dirs/config to /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config 790s ok 2 /appinfo/mime/api 790s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/home 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/cache 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/system-config2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/config 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/system-data2 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/state 790s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/runtime 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/system-data1/applications' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 790s # removing '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 790s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/config 790s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OKW1K2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/config 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/config 790s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/config 791s ok 3 /appinfo/mime/default 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/runtime 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/system-data1/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 791s # removing '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OKW1K2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config 791s ok 4 /appinfo/mime/file 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/runtime 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 791s # removing '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 791s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OKW1K2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/config 791s ok 5 /appinfo/mime/scheme-handler 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/runtime 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 791s # removing '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OKW1K2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config 791s ok 6 /appinfo/mime/default-last-used 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/runtime 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 791s # removing '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 791s # creating '/tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 791s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OKW1K2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_OKW1K2/appinfo/mime/ignore-nonexisting/.dirs/config 791s ok 7 /appinfo/mime/ignore-nonexisting 791s # End of mime tests 791s # End of appinfo tests 791s ok - glib/mimeapps.test 791s # Running test: glib/logging.test 791s TAP version 13 791s # random seed: R02Se8e9d7c0e96451e7663de66536513821 791s 1..17 791s # Start of logging tests 791s ok 1 /logging/default-handler 791s ok 2 /logging/warnings 791s ok 3 /logging/fatal-log-mask 791s # bu-DEBUG: message 791s # ba-DEBUG: message 791s # ba-INFO: message 791s ok 4 /logging/set-handler 791s ok 5 /logging/print-handler 791s ok 6 /logging/printerr-handler 791s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 791s # The Log Message Handler 791s # 791s # The Good Fail Message Handler 791s # 791s ok 7 /logging/653052 791s ok 8 /logging/gibberish 791s # Start of default-handler tests 791s # Start of subprocess tests 791s # End of subprocess tests 791s # End of default-handler tests 791s # End of logging tests 791s # Start of structured-logging tests 791s ok 9 /structured-logging/no-state 791s ok 10 /structured-logging/some-state 791s ok 11 /structured-logging/robustness 791s ok 12 /structured-logging/roundtrip1 791s ok 13 /structured-logging/roundtrip2 791s ok 14 /structured-logging/roundtrip3 791s ok 15 /structured-logging/variant1 791s ok 16 /structured-logging/variant2 791s ok 17 /structured-logging/set-writer-func-twice 791s # End of structured-logging tests 791s ok - glib/logging.test 791s # Running test: glib/function-info.test 791s TAP version 13 791s # random seed: R02S323c2de6905067d67430452bdbe6ad46 791s 1..1 791s # Start of function-info tests 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_TVUPK2/function-info/invoker/.dirs/runtime 791s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 791s # /function-info/invoker summary: Test preparing a function invoker 791s ok 1 /function-info/invoker 791s # End of function-info tests 791s ok - glib/function-info.test 791s # Running test: glib/thread-deprecated.test 791s TAP version 13 791s # random seed: R02S1c283e217a693c90cbc89f1af007eac5 791s 1..6 791s # Start of thread tests 791s ok 1 /thread/mutex 791s ok 2 /thread/static-rec-mutex 792s # Executing: glib/thread-deprecated.test 798s ok 3 /thread/static-private 798s # slow test /thread/static-private executed in 4.40 secs 798s # Executing: glib/thread-deprecated.test 801s ok 4 /thread/static-rw-lock 801s # slow test /thread/static-rw-lock executed in 5.01 secs 801s ok 5 /thread/once 802s # Executing: glib/thread-deprecated.test 808s # Executing: glib/thread-deprecated.test 811s ok 6 /thread/rerun-all 811s # slow test /thread/rerun-all executed in 10.02 secs 811s # End of thread tests 811s ok - glib/thread-deprecated.test 811s # Running test: glib/bindinggroup.test 811s TAP version 13 811s # random seed: R02S98e48e199eda39d60130fcbe7f810c61 811s 1..11 811s # Start of GObject tests 811s # Start of BindingGroup tests 811s ok 1 /GObject/BindingGroup/invalid 811s ok 2 /GObject/BindingGroup/default 811s ok 3 /GObject/BindingGroup/bidirectional 811s ok 4 /GObject/BindingGroup/transform 811s ok 5 /GObject/BindingGroup/transform-closures 811s ok 6 /GObject/BindingGroup/same-object 811s ok 7 /GObject/BindingGroup/weak-ref-source 811s ok 8 /GObject/BindingGroup/weak-ref-target 811s ok 9 /GObject/BindingGroup/properties 811s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 811s ok 11 /GObject/BindingGroup/empty-closures 811s # End of BindingGroup tests 811s # End of GObject tests 811s ok - glib/bindinggroup.test 811s # Running test: glib/gdbus-test-codegen.test 811s TAP version 13 811s # random seed: R02S84edd6d4f76b925a0921ee6bdde3da6d 811s 1..8 811s # Start of gdbus tests 811s # Start of codegen tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/annotations/.dirs/runtime 811s ok 1 /gdbus/codegen/annotations 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/interface_stability/.dirs/runtime 811s ok 2 /gdbus/codegen/interface_stability 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/object-manager/.dirs/runtime 811s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 811s ok 3 /gdbus/codegen/object-manager 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/property-naming/.dirs/runtime 811s ok 4 /gdbus/codegen/property-naming 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/autocleanups/.dirs/runtime 811s ok 5 /gdbus/codegen/autocleanups 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/deprecations/.dirs/runtime 811s ok 6 /gdbus/codegen/deprecations 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 811s ok 7 /gdbus/codegen/standalone-interface-info 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_ZD8YK2/gdbus/codegen/unix-fd-list/.dirs/runtime 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 811s ok 8 /gdbus/codegen/unix-fd-list 811s # End of codegen tests 811s # End of gdbus tests 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s ok - glib/gdbus-test-codegen.test 811s # Running test: glib/1bit-mutex.test 811s TAP version 13 811s # random seed: R02Se9380ee2ce528fcab3b5c4acf8a0d9b8 811s 1..2 811s # Start of glib tests 811s # Start of 1bit-mutex tests 813s # Executing: glib/1bit-mutex.test 814s ok 1 /glib/1bit-mutex/int 814s # slow test /glib/1bit-mutex/int executed in 3.31 secs 817s ok 2 /glib/1bit-mutex/pointer 817s # slow test /glib/1bit-mutex/pointer executed in 3.23 secs 817s # End of 1bit-mutex tests 817s # End of glib tests 817s ok - glib/1bit-mutex.test 817s # Running test: glib/scannerapi.test 817s TAP version 13 817s # random seed: R02Sd1277a2786ac747f0b5ffe87df1535df 817s 1..4 817s # Start of scanner tests 817s ok 1 /scanner/warn 817s ok 2 /scanner/error 817s ok 3 /scanner/symbols 817s ok 4 /scanner/tokens 817s # End of scanner tests 817s ok - glib/scannerapi.test 817s # Running test: glib/basics-gobject.test 817s TAP version 13 817s # random seed: R02S019243d40e52460a799bb880e9e49ee1 817s 1..1 817s # Start of gobject tests 817s # private data during initialization: 54321 == 54321 817s # MAIN: emit test-signal: 817s # ::test_signal default_handler called 817s # ::test_signal default_handler called 817s # ::test_signal default_handler called 817s # signal return: "" 817s # MAIN: call iface print-string on test and derived object: 817s # Iface-FOO: "iface-string-from-test-type" from 0xb825dad8a7b0 817s # Iface-BAR: "iface-string-from-derived-type" from 0xb825dad8a6d0 817s # chaining: 817s # Iface-FOO: "iface-string-from-derived-type" from 0xb825dad8a6d0 817s # private data after initialization: 54321 == 54321 817s ok 1 /gobject/basics 817s # End of gobject tests 817s # Executing: glib/basics-gobject.test 817s ok - glib/basics-gobject.test 817s # Running test: glib/ifaceproperties.test 817s TAP version 13 817s # random seed: R02Sdb8ec228d3664078e6872c08713fc083 817s 1..7 817s # Start of interface tests 817s # Start of properties tests 817s ok 1 /interface/properties/set 817s ok 2 /interface/properties/notify 817s ok 3 /interface/properties/find-overridden 817s ok 4 /interface/properties/list-overridden 817s ok 5 /interface/properties/find-interface 817s ok 6 /interface/properties/list-interface 817s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 817s ok 7 /interface/properties/not-overridden 817s # End of properties tests 817s # End of interface tests 817s ok - glib/ifaceproperties.test 817s # Running test: glib/memory-monitor.test 817s TAP version 13 817s # random seed: R02S6f9962a9e2d1a49d0586cc6697b0bc53 817s 1..1 817s # Start of memory-monitor tests 817s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 817s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 817s ok 1 /memory-monitor/default 817s # End of memory-monitor tests 817s ok - glib/memory-monitor.test 817s # Running test: glib/memory-monitor-dbus.test 818s TAP version 13 818s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 818s 1..1 818s ok - glib/memory-monitor-dbus.test 818s # Running test: glib/unicode.test 818s TAP version 13 818s # random seed: R02S3051c26bf9f655efd2c1db0f3516a4c1 818s 1..39 818s # Start of unicode tests 818s ok 1 /unicode/alnum 818s ok 2 /unicode/alpha 818s ok 3 /unicode/break-type 818s ok 4 /unicode/canonical-decomposition 818s ok 5 /unicode/casefold 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s # Cannot set locale to lt_LT, skipping 818s ok 6 /unicode/casemap_and_casefold 818s ok 7 /unicode/cases 818s ok 8 /unicode/character-type 818s ok 9 /unicode/cntrl 818s ok 10 /unicode/combining-class 818s ok 11 /unicode/compose 818s ok 12 /unicode/decompose 818s ok 13 /unicode/decompose-tail 818s ok 14 /unicode/defined 818s ok 15 /unicode/digit 818s ok 16 /unicode/digit-value 818s ok 17 /unicode/fully-decompose-canonical 818s ok 18 /unicode/fully-decompose-len 818s ok 19 /unicode/normalization 818s ok 20 /unicode/graph 818s # Testing script Zyyy (code 1517910393) 818s # Testing script Zinh (code 1516858984) 818s # Testing script Zmth (code 1517122664) 818s # Testing script Arab (code 1098015074) 818s # Testing script Armn (code 1098018158) 818s # Testing script Beng (code 1113943655) 818s # Testing script Bopo (code 1114599535) 818s # Testing script Cher (code 1130915186) 818s # Testing script Copt (code 1131376756) 818s # Testing script Cyrl (code 1132032620) 818s # Testing script Dsrt (code 1148416628) 818s # Testing script Deva (code 1147500129) 818s # Testing script Ethi (code 1165256809) 818s # Testing script Geor (code 1197830002) 818s # Testing script Goth (code 1198486632) 818s # Testing script Grek (code 1198679403) 818s # Testing script Gujr (code 1198877298) 818s # Testing script Guru (code 1198879349) 818s # Testing script Hani (code 1214344809) 818s # Testing script Hang (code 1214344807) 818s # Testing script Hebr (code 1214603890) 818s # Testing script Hira (code 1214870113) 818s # Testing script Knda (code 1265525857) 818s # Testing script Kana (code 1264676449) 818s # Testing script Khmr (code 1265134962) 818s # Testing script Laoo (code 1281453935) 818s # Testing script Latn (code 1281455214) 818s # Testing script Mlym (code 1298954605) 818s # Testing script Mong (code 1299148391) 818s # Testing script Mymr (code 1299803506) 818s # Testing script Ogam (code 1332175213) 818s # Testing script Ital (code 1232363884) 818s # Testing script Orya (code 1332902241) 818s # Testing script Runr (code 1383427698) 818s # Testing script Sinh (code 1399418472) 818s # Testing script Syrc (code 1400468067) 818s # Testing script Taml (code 1415671148) 818s # Testing script Telu (code 1415933045) 818s # Testing script Thaa (code 1416126817) 818s # Testing script Thai (code 1416126825) 818s # Testing script Tibt (code 1416192628) 818s # Testing script Cans (code 1130458739) 818s # Testing script Yiii (code 1500080489) 818s # Testing script Tglg (code 1416064103) 818s # Testing script Hano (code 1214344815) 818s # Testing script Buhd (code 1114990692) 818s # Testing script Tagb (code 1415669602) 818s # Testing script Brai (code 1114792297) 818s # Testing script Cprt (code 1131442804) 818s # Testing script Limb (code 1281977698) 818s # Testing script Osma (code 1332964705) 818s # Testing script Shaw (code 1399349623) 818s # Testing script Linb (code 1281977954) 818s # Testing script Tale (code 1415670885) 818s # Testing script Ugar (code 1432838514) 818s # Testing script Talu (code 1415670901) 818s # Testing script Bugi (code 1114990441) 818s # Testing script Glag (code 1198285159) 818s # Testing script Tfng (code 1415999079) 818s # Testing script Sylo (code 1400466543) 818s # Testing script Xpeo (code 1483761007) 818s # Testing script Khar (code 1265131890) 818s # Testing script Zzzz (code 1517976186) 818s # Testing script Bali (code 1113681001) 818s # Testing script Xsux (code 1483961720) 818s # Testing script Phnx (code 1349021304) 818s # Testing script Phag (code 1349017959) 818s # Testing script Nkoo (code 1315663727) 818s # Testing script Kali (code 1264675945) 818s # Testing script Lepc (code 1281716323) 818s # Testing script Rjng (code 1382706791) 818s # Testing script Sund (code 1400204900) 818s # Testing script Saur (code 1398895986) 818s # Testing script Cham (code 1130914157) 818s # Testing script Olck (code 1332503403) 818s # Testing script Vaii (code 1449224553) 818s # Testing script Cari (code 1130459753) 818s # Testing script Lyci (code 1283023721) 818s # Testing script Lydi (code 1283023977) 818s # Testing script Avst (code 1098281844) 818s # Testing script Bamu (code 1113681269) 818s # Testing script Egyp (code 1164409200) 818s # Testing script Armi (code 1098018153) 818s # Testing script Phli (code 1349020777) 818s # Testing script Prti (code 1349678185) 818s # Testing script Java (code 1247901281) 818s # Testing script Kthi (code 1265920105) 818s # Testing script Lisu (code 1281979253) 818s # Testing script Mtei (code 1299473769) 818s # Testing script Sarb (code 1398895202) 818s # Testing script Orkh (code 1332898664) 818s # Testing script Samr (code 1398893938) 818s # Testing script Lana (code 1281453665) 818s # Testing script Tavt (code 1415673460) 818s # Testing script Batk (code 1113683051) 818s # Testing script Brah (code 1114792296) 818s # Testing script Mand (code 1298230884) 818s # Testing script Cakm (code 1130457965) 818s # Testing script Merc (code 1298494051) 818s # Testing script Mero (code 1298494063) 818s # Testing script Plrd (code 1349284452) 818s # Testing script Shrd (code 1399353956) 818s # Testing script Sora (code 1399812705) 818s # Testing script Takr (code 1415670642) 818s # Testing script Bass (code 1113682803) 818s # Testing script Aghb (code 1097295970) 818s # Testing script Dupl (code 1148547180) 818s # Testing script Elba (code 1164730977) 818s # Testing script Gran (code 1198678382) 818s # Testing script Khoj (code 1265135466) 818s # Testing script Sind (code 1399418468) 818s # Testing script Lina (code 1281977953) 818s # Testing script Mahj (code 1298229354) 818s # Testing script Mani (code 1298230889) 818s # Testing script Mend (code 1298493028) 818s # Testing script Modi (code 1299145833) 818s # Testing script Mroo (code 1299345263) 818s # Testing script Nbat (code 1315070324) 818s # Testing script Narb (code 1315009122) 818s # Testing script Perm (code 1348825709) 818s # Testing script Hmng (code 1215131239) 818s # Testing script Palm (code 1348562029) 818s # Testing script Pauc (code 1348564323) 818s # Testing script Phlp (code 1349020784) 818s # Testing script Sidd (code 1399415908) 818s # Testing script Tirh (code 1416196712) 818s # Testing script Wara (code 1466004065) 818s # Testing script Ahom (code 1097363309) 818s # Testing script Hluw (code 1215067511) 818s # Testing script Hatr (code 1214346354) 818s # Testing script Mult (code 1299541108) 818s # Testing script Hung (code 1215655527) 818s # Testing script Sgnw (code 1399287415) 818s # Testing script Adlm (code 1097100397) 818s # Testing script Bhks (code 1114139507) 818s # Testing script Marc (code 1298231907) 818s # Testing script Newa (code 1315272545) 818s # Testing script Osge (code 1332963173) 818s # Testing script Tang (code 1415671399) 818s # Testing script Gonm (code 1198485101) 818s # Testing script Nshu (code 1316186229) 818s # Testing script Soyo (code 1399814511) 818s # Testing script Zanb (code 1516334690) 818s # Testing script Dogr (code 1148151666) 818s # Testing script Gong (code 1198485095) 818s # Testing script Rohg (code 1383032935) 818s # Testing script Maka (code 1298230113) 818s # Testing script Medf (code 1298490470) 818s # Testing script Sogo (code 1399809903) 818s # Testing script Sogd (code 1399809892) 818s # Testing script Elym (code 1164736877) 818s # Testing script Nand (code 1315008100) 818s # Testing script Hmnp (code 1215131248) 818s # Testing script Wcho (code 1466132591) 818s # Testing script Chrs (code 1130918515) 818s # Testing script Diak (code 1147756907) 818s # Testing script Kits (code 1265202291) 818s # Testing script Yezi (code 1499822697) 818s # Testing script Cpmn (code 1131441518) 818s # Testing script Ougr (code 1333094258) 818s # Testing script Tnsa (code 1416524641) 818s # Testing script Toto (code 1416590447) 818s # Testing script Vith (code 1449751656) 818s # Testing script Kawi (code 1264678761) 818s # Testing script Nagm (code 1315006317) 818s ok 21 /unicode/iso15924 818s ok 22 /unicode/lower 818s ok 23 /unicode/mark 818s ok 24 /unicode/mirror 818s ok 25 /unicode/print 818s ok 26 /unicode/punctuation 818s ok 27 /unicode/script 818s ok 28 /unicode/space 818s ok 29 /unicode/strdown 818s ok 30 /unicode/strup 818s ok 31 /unicode/turkish-strupdown 818s ok 32 /unicode/title 818s ok 33 /unicode/upper 818s ok 34 /unicode/validate 818s ok 35 /unicode/wide 818s ok 36 /unicode/xdigit 818s ok 37 /unicode/xdigit-value 818s ok 38 /unicode/zero-width 818s ok 39 /unicode/normalize 818s # End of unicode tests 818s ok - glib/unicode.test 818s # Running test: glib/gdbus-proxy-well-known-name.test 818s TAP version 13 818s # random seed: R02S2eb925b89eb51c3de11f11c4c4516dce 818s 1..1 818s # Start of gdbus tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_7I11K2/gdbus/proxy-well-known-name/.dirs/runtime 818s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s ok 1 /gdbus/proxy-well-known-name 818s # End of gdbus tests 818s ok - glib/gdbus-proxy-well-known-name.test 818s # Running test: glib/appmonitor.test 818s TAP version 13 818s # random seed: R02Sdddea46545ffda91aa37cd6fee6f420b 818s 1..1 818s # Start of monitor tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/runtime 818s # Using data directory: /tmp/test_appmonitor_AW5ZK2/monitor/app/.dirs/data 818s ok 1 /monitor/app 818s # End of monitor tests 818s ok - glib/appmonitor.test 818s # Running test: glib/dbus-appinfo.test 818s TAP version 13 818s # random seed: R02S7718630fa97e13c956111bc08715a83f 818s 1..3 818s # Start of appinfo tests 818s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 818s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 818s ok 1 /appinfo/dbusappinfo 818s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 818s dbus-daemon[7199]: [session uid=1000 pid=7199] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=7198 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 818s # Acquired a message bus connection 818s dbus-daemon[7199]: [session uid=1000 pid=7199] Successfully activated service 'org.freedesktop.portal.Documents' 818s # Acquired the name org.freedesktop.portal.Documents 818s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 818s ok 2 /appinfo/flatpak-doc-export 818s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 818s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 818s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 818s ok 3 /appinfo/flatpak-missing-doc-export 818s # End of appinfo tests 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # Lost the name org.freedesktop.portal.Documents 818s ok - glib/dbus-appinfo.test 818s # Running test: glib/live-g-file.test 818s TAP version 13 818s # random seed: R02S9ca8df9e366f05b2fdfa1881462b2fe5 818s 1..13 818s # Start of live-g-file tests 818s # Cleaning target testing structure in 'testdir_live-g-file'... 818s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 818s ok 1 /live-g-file/prep_clean_structure 818s # 818s # Going to create testing structure in 'testdir_live-g-file'... 818s # Creating directory 'dir1'... 818s # Creating directory 'dir1/subdir'... 818s # Creating directory 'dir2'... 818s # Creating directory 'dir-target'... 818s # Creating directory 'dir_no-access'... 818s # Creating directory 'dir_no-write'... 818s # Creating file 'target-file'... 818s # Creating file 'normal_file'... 818s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 818s # Creating file 'executable_file'... 818s # Creating file 'private_file'... 818s # Creating file 'normal_file2'... 818s # Creating file 'readonly_file'... 818s # Creating file 'UTF_pr?i?lis? z'... 818s # Creating directory 'dir_pr?i?lis? z'... 818s # Creating symlink 'lost_symlink' --> 'nowhere'... 818s # Creating directory 'dir_hidden'... 818s # Creating file 'dir_hidden/.a-hidden-file'... 818s # Creating file 'dir_hidden/file-in-.hidden1'... 818s # Creating file 'dir_hidden/file-in-.hidden2'... 818s # Creating pattern file... 818s # done. 818s ok 2 /live-g-file/create_structure 818s # Testing sample structure in 'testdir_live-g-file'... 818s # Testing file 'dir1'... 818s # Testing file 'dir1/subdir'... 818s # Testing file 'dir2'... 818s # Testing file 'dir-target'... 818s # Testing file 'dir_no-access'... 818s # Testing file 'dir_no-write'... 818s # Testing file 'target-file'... 818s # Testing file 'normal_file'... 818s # Testing file 'normal_file-symlink'... 818s # Testing file 'executable_file'... 818s # Testing file 'private_file'... 818s # Testing file 'normal_file2'... 818s # Testing file 'readonly_file'... 818s # Testing file 'UTF_pr?i?lis? z'... 818s # Testing file 'dir_pr?i?lis? z'... 818s # Testing file 'lost_symlink'... 818s # Testing file 'dir_hidden'... 818s # Testing file 'dir_hidden/.a-hidden-file'... 818s # Testing file 'dir_hidden/file-in-.hidden1'... 818s # Testing file 'dir_hidden/file-in-.hidden2'... 818s # Testing pattern file... 818s # read 65536 bytes, total = 65536 of 65536. 818s ok 3 /live-g-file/test_initial_structure 818s # Traversing through the sample structure in 'testdir_live-g-file'... 818s # Found file dir1, relative to root: dir1 818s # Found file subdir, relative to root: dir1/subdir 818s # Found file dir2, relative to root: dir2 818s # Found file dir-target, relative to root: dir-target 818s # Found file dir_no-access, relative to root: dir_no-access 818s # Found file dir_no-write, relative to root: dir_no-write 818s # Found file target-file, relative to root: target-file 818s # Found file normal_file, relative to root: normal_file 818s # Found file normal_file-symlink, relative to root: normal_file-symlink 818s # Found file executable_file, relative to root: executable_file 818s # Found file private_file, relative to root: private_file 818s # Found file normal_file2, relative to root: normal_file2 818s # Found file readonly_file, relative to root: readonly_file 818s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 818s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 818s # Found file lost_symlink, relative to root: lost_symlink 818s # Found file dir_hidden, relative to root: dir_hidden 818s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 818s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 818s # Found file .hidden, relative to root: dir_hidden/.hidden 818s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 818s # Found file pattern_file, relative to root: pattern_file 818s ok 4 /live-g-file/test_traverse_structure 818s # Test enumerate 'testdir_live-g-file'... 818s # Testing file 'dir_no-access' 818s # Testing file 'normal_file' 818s # Testing file 'normal_file-symlink' 818s # Testing file 'not_exists' 818s # Testing file 'not_exists' 818s # Testing file 'not_exists2' 818s # Testing file 'not_exists3' 818s # Testing file 'not_exists4' 818s # Testing file 'dir_no-execute/file' 818s ok 5 /live-g-file/test_enumerate 818s # test_open: 'dir1' 818s # test_open: 'dir_no-access' 818s # test_open: 'target-file' 818s # test_open: 'normal_file-symlink' 818s # test_open: 'executable_file' 818s # test_open: 'private_file' 818s # test_open: 'readonly_file' 818s # test_open: 'UTF_pr?i?lis? z' 818s # test_open: 'pattern_file' 818s # test_open: 'not_exists' 818s # test_open: 'dir_no-execute/file' 818s # test_open: 'lost_symlink' 818s ok 6 /live-g-file/test_open 818s # test_create: 'dir1' 818s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir1?: Is a directory 818s # test_create: 'dir1/subdir' 818s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir1/subdir?: Is a directory 818s # test_create: 'dir2' 818s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir2?: File exists 818s # test_create: 'normal_file' 818s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/normal_file?: File exists 818s # test_create: 'executable_file' 818s # test_create: 'private_file' 818s # test_create: 'normal_file2' 818s # test_create: 'UTF_pr?i?lis? z' 818s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 818s # test_create: 'dir_pr?i?lis? z' 818s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 818s # test_create: 'pattern_file' 818s # test_create: 'not_exists2' 818s # test_create: 'not_exists3' 818s # test_create: 'not_exists4' 818s ok 7 /live-g-file/test_create 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir1/subdir' --> 'dir-target' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir1/subdir' --> '.' 818s # res = 0, error code 2 = Target file exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir1/subdir' --> 'target-file' 818s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir1/subdir' --> 'not_exists' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir2' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir-target' --> 'dir-target' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir-target' --> '.' 818s # res = 0, error code 2 = Target file exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir-target' --> 'target-file' 818s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/dir-target?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir-target' --> 'not_exists' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir-target' --> 'dir_no-access' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'dir-target' --> 'dir_no-write' 818s # res = 0, error code 25 = Can?t recursively copy directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'target-file' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'target-file' --> '.' 818s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file?: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'target-file' --> 'target-file' 818s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/target-file?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'target-file' --> 'not_exists' 818s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'target-file' --> 'dir_no-access' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'target-file' --> 'dir_no-write' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file-symlink' --> '.' 818s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/normal_file-symlink: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file-symlink' --> 'target-file' 818s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 818s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 818s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 818s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'executable_file' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'executable_file' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'executable_file' --> '.' 818s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/executable_file?: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'executable_file' --> 'target-file' 818s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/executable_file?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'executable_file' --> 'not_exists' 818s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'executable_file' --> 'dir_no-access' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'executable_file' --> 'dir_no-write' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'private_file' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'private_file' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'private_file' --> '.' 818s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/private_file?: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'private_file' --> 'target-file' 818s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/private_file?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'private_file' --> 'not_exists' 818s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'private_file' --> 'dir_no-access' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'private_file' --> 'dir_no-write' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file2' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file2' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file2' --> '.' 818s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/normal_file2?: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file2' --> 'target-file' 818s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file2' --> 'not_exists' 818s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file2' --> 'dir_no-access' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'normal_file2' --> 'dir_no-write' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 818s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 818s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 818s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'pattern_file' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'pattern_file' --> '.' 818s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/pattern_file?: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'pattern_file' --> 'target-file' 818s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'pattern_file' --> 'not_exists' 818s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'pattern_file' --> 'dir_no-access' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'pattern_file' --> 'dir_no-write' 818s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'not_exists' --> 'dir-target' 818s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'not_exists' --> '.' 818s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'not_exists' --> 'target-file' 818s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'not_exists' --> 'not_exists' 818s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'not_exists' --> 'dir_no-access' 818s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'not_exists' --> 'dir_no-write' 818s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists?: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'not_exists' --> 'dir-target' 818s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'lost_symlink' --> 'dir-target' 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'lost_symlink' --> '.' 818s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/lost_symlink: File exists 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'lost_symlink' --> 'target-file' 818s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'lost_symlink' --> 'not_exists' 818s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 818s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 818s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 818s ok 8 /live-g-file/test_copy_move 818s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir1 818s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir1: Directory not empty 818s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir2 818s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir2: No such file or directory 818s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/executable_file 818s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/readonly_file 818s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_pr?i?lis? z 818s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists 818s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists: No such file or directory 818s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists 818s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/not_exists: No such file or directory 818s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-execute/file 818s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 818s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-7B8MK2/testdir_live-g-file/lost_symlink 818s ok 9 /live-g-file/test_delete 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s ok 10 /live-g-file/test_make_directory_with_parents 818s # Cleaning target testing structure in 'testdir_live-g-file'... 818s # deleting 'dir1' 818s # deleting 'subdir' 818s # deleting 'dir-target' 818s # deleting 'dir2' 818s # deleting 'target-file' 818s # deleting 'normal_file-symlink' 818s # deleting 'pattern_file' 818s # deleting 'executable_file' 818s # deleting 'private_file' 818s # deleting 'normal_file2' 818s # deleting 'UTF_pr?i?lis? z' 818s # deleting 'lost_symlink' 818s # deleting 'dir_no-access' 818s # deleting 'dir_no-write' 818s # deleting 'target-file' 818s # deleting 'normal_file' 818s # deleting 'normal_file-symlink' 818s # deleting 'executable_file~' 818s # deleting 'private_file' 818s # deleting 'normal_file2~' 818s # deleting 'a' 818s # deleting 'UTF_pr?i?lis? z' 818s # deleting 'dir_hidden' 818s # deleting '.a-hidden-file' 818s # deleting 'file-in-.hidden1' 818s # deleting '.hidden' 818s # deleting 'file-in-.hidden2' 818s # deleting 'pattern_file' 818s # deleting 'normal_file2' 818s # deleting 'not_exists2' 818s # deleting 'not_exists3' 818s # deleting 'not_exists4' 818s ok 11 /live-g-file/final_clean 818s # Start of test_unix_is_mountpoint tests 818s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 818s ok 13 /live-g-file/test_unix_is_mountpoint/proc 818s # End of test_unix_is_mountpoint tests 818s # End of live-g-file tests 818s ok - glib/live-g-file.test 818s # Running test: glib/date.test 818s TAP version 13 818s # random seed: R02S17a5f9579c7a4b474e2cf95005c4b1ce 818s 1..121 818s # Start of date tests 818s ok 1 /date/basic 818s ok 2 /date/empty 818s ok 3 /date/dmy 818s ok 4 /date/julian 818s ok 5 /date/compare 818s ok 6 /date/dates 818s ok 7 /date/strftime 818s ok 8 /date/two-digit-years 818s ok 9 /date/parse 818s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 818s ok 11 /date/month_substring 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 818s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 818s ok 13 /date/clamp 818s ok 14 /date/order 818s ok 15 /date/copy 818s # Vector 0: 0000-00-00, invalid 818s # Vector 1: 0001-01-01, valid 818s # Vector 2: 0000-01-01, invalid 818s # Vector 3: 2000-02-30, invalid 818s # Vector 4: 2000-02-29, valid 818s # Vector 5: 2001-02-29, invalid 818s # Vector 6: 65535-01-01, valid 818s ok 16 /date/valid-dmy 818s # Start of parse tests 818s # Test 0 818s # Test 1 818s ok 17 /date/parse/invalid 818s # End of parse tests 818s # Start of year tests 818s ok 18 /date/year/1 818s ok 19 /date/year/2 818s ok 20 /date/year/3 818s ok 21 /date/year/4 818s ok 22 /date/year/5 818s ok 23 /date/year/6 818s ok 24 /date/year/7 818s ok 25 /date/year/8 818s ok 26 /date/year/9 818s ok 27 /date/year/10 818s ok 28 /date/year/11 818s ok 29 /date/year/12 818s ok 30 /date/year/13 818s ok 31 /date/year/14 818s ok 32 /date/year/98 818s ok 33 /date/year/99 818s ok 34 /date/year/100 818s ok 35 /date/year/101 818s ok 36 /date/year/102 818s ok 37 /date/year/103 818s ok 38 /date/year/397 818s ok 39 /date/year/398 818s ok 40 /date/year/399 818s ok 41 /date/year/400 818s ok 42 /date/year/401 818s ok 43 /date/year/402 818s ok 44 /date/year/403 818s ok 45 /date/year/404 818s ok 46 /date/year/405 818s ok 47 /date/year/406 818s ok 48 /date/year/1598 818s ok 49 /date/year/1599 818s ok 50 /date/year/1600 818s ok 51 /date/year/1601 818s ok 52 /date/year/1602 818s ok 53 /date/year/1650 818s ok 54 /date/year/1651 818s ok 55 /date/year/1897 818s ok 56 /date/year/1898 818s ok 57 /date/year/1899 818s ok 58 /date/year/1900 818s ok 59 /date/year/1901 818s ok 60 /date/year/1902 818s ok 61 /date/year/1903 818s ok 62 /date/year/1961 818s ok 63 /date/year/1962 818s ok 64 /date/year/1963 818s ok 65 /date/year/1964 818s ok 66 /date/year/1965 818s ok 67 /date/year/1967 818s ok 68 /date/year/1968 818s ok 69 /date/year/1969 818s ok 70 /date/year/1970 818s ok 71 /date/year/1971 818s ok 72 /date/year/1972 818s ok 73 /date/year/1973 818s ok 74 /date/year/1974 818s ok 75 /date/year/1975 818s ok 76 /date/year/1976 818s ok 77 /date/year/1977 818s ok 78 /date/year/1978 818s ok 79 /date/year/1979 818s ok 80 /date/year/1980 818s ok 81 /date/year/1981 818s ok 82 /date/year/1982 818s ok 83 /date/year/1983 818s ok 84 /date/year/1984 818s ok 85 /date/year/1985 818s ok 86 /date/year/1986 818s ok 87 /date/year/1987 818s ok 88 /date/year/1988 818s ok 89 /date/year/1989 818s ok 90 /date/year/1990 818s ok 91 /date/year/1991 818s ok 92 /date/year/1992 818s ok 93 /date/year/1993 818s ok 94 /date/year/1994 818s ok 95 /date/year/1995 818s ok 96 /date/year/1996 818s ok 97 /date/year/1997 818s ok 98 /date/year/1998 818s ok 99 /date/year/1999 818s ok 100 /date/year/2000 818s ok 101 /date/year/2001 818s ok 102 /date/year/2002 818s ok 103 /date/year/2003 818s ok 104 /date/year/2004 818s ok 105 /date/year/2005 818s ok 106 /date/year/2006 818s ok 107 /date/year/2007 818s ok 108 /date/year/2008 818s ok 109 /date/year/2009 818s ok 110 /date/year/2010 818s ok 111 /date/year/2011 818s ok 112 /date/year/2012 818s ok 113 /date/year/3000 818s ok 114 /date/year/3001 818s ok 115 /date/year/3002 818s ok 116 /date/year/3998 818s ok 117 /date/year/3999 818s ok 118 /date/year/4000 818s ok 119 /date/year/4001 818s ok 120 /date/year/4002 818s ok 121 /date/year/4003 818s # End of year tests 818s # End of date tests 818s ok - glib/date.test 818s # Running test: glib/task.test 818s TAP version 13 818s # random seed: R02Sb212bc430645839f384f13797e15100a 818s 1..36 818s # Start of gtask tests 818s ok 1 /gtask/basic 818s ok 2 /gtask/error 818s ok 3 /gtask/error-literal 818s ok 4 /gtask/error-literal-from-variable 818s ok 5 /gtask/return-from-same-iteration 818s ok 6 /gtask/return-from-toplevel 818s ok 7 /gtask/return-from-anon-thread 818s ok 8 /gtask/return-from-wrong-thread 818s ok 9 /gtask/no-callback 818s ok 10 /gtask/report-error 818s ok 11 /gtask/priority 818s ok 12 /gtask/name 818s ok 13 /gtask/static-name 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 819s ok 14 /gtask/asynchronous-cancellation 819s ok 15 /gtask/check-cancellable 819s ok 16 /gtask/return-if-cancelled 819s ok 17 /gtask/run-in-thread 819s ok 18 /gtask/run-in-thread-sync 819s ok 19 /gtask/run-in-thread-priority 819s ok 20 /gtask/run-in-thread-nested 821s ok 21 /gtask/run-in-thread-overflow 821s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 821s # GLib-GIO-DEBUG: GTask 0xc4757ed260c0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 821s # GLib-GIO-DEBUG: GTask 0xc4757ed25ec0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 821s ok 22 /gtask/return-on-cancel 821s # GLib-GIO-DEBUG: GTask 0xc4757ed261c0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 821s # GLib-GIO-DEBUG: GTask 0xc4757ed94d00 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 821s ok 23 /gtask/return-on-cancel-sync 821s ok 24 /gtask/return-on-cancel-atomic 821s ok 25 /gtask/return-pointer 821s ok 26 /gtask/return-value 821s ok 27 /gtask/return-prefixed-error 821s ok 28 /gtask/object-keepalive 821s ok 29 /gtask/legacy-error 821s ok 30 /gtask/finalize-without-return 821s # Start of name tests 821s ok 31 /gtask/name/macro-wrapper 821s # End of name tests 821s # Start of return tests 821s ok 32 /gtask/return/error-first 821s ok 33 /gtask/return/value-first 821s # Start of in-idle tests 821s ok 34 /gtask/return/in-idle/error-first 821s ok 35 /gtask/return/in-idle/value-first 821s # End of in-idle tests 821s # End of return tests 821s # Start of attach-source tests 821s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 821s ok 36 /gtask/attach-source/set-name 821s # End of attach-source tests 821s # End of gtask tests 821s ok - glib/task.test 821s # Running test: glib/binding.test 821s TAP version 13 821s # random seed: R02S0268d816c4e8a92248a1d809aa0d4998 821s 1..19 821s # Start of binding tests 821s ok 1 /binding/default 821s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 821s ok 2 /binding/canonicalisation 821s ok 3 /binding/bidirectional 821s ok 4 /binding/transform 821s ok 5 /binding/transform-default 821s ok 6 /binding/transform-closure 821s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 821s ok 7 /binding/chain 821s ok 8 /binding/sync-create 821s ok 9 /binding/invert-boolean 821s ok 10 /binding/same-object 821s ok 11 /binding/unbind 821s ok 12 /binding/unbind-weak 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 821s ok 13 /binding/unbind-multiple 821s ok 14 /binding/fail 821s ok 15 /binding/interface 821s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 821s ok 16 /binding/concurrent-unbind 821s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 821s ok 17 /binding/concurrent-finalizing 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 821s ok 18 /binding/dispose-source 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 821s ok 19 /binding/dispose-target 821s # End of binding tests 821s ok - glib/binding.test 821s # Running test: glib/gnotification.test 821s TAP version 13 821s # random seed: R02S0c50f2af2b18aa5a26a20118d603e097 821s 1..2 821s # Start of gnotification tests 821s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 821s ok 1 /gnotification/basic 821s ok 2 /gnotification/properties 821s # End of gnotification tests 821s ok - glib/gnotification.test 821s # Running test: glib/portal-support-flatpak-network-only.test 821s TAP version 13 821s # random seed: R02S4a1f189b85d3361cf975c126a6fa7d2e 821s 1..1 821s # Start of portal-support tests 821s # Start of flatpak tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/runtime 821s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_QF5NK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 821s ok 1 /portal-support/flatpak/network 821s # End of flatpak tests 821s # End of portal-support tests 821s ok - glib/portal-support-flatpak-network-only.test 821s # Running test: glib/volumemonitor.test 821s TAP version 13 821s # random seed: R02S668cdd3e55386fb6ed7ffe0a5564c8b5 821s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 821s 1..3 821s # Start of volumemonitor tests 821s ok 1 /volumemonitor/connected_drives 821s ok 2 /volumemonitor/volumes 821s ok 3 /volumemonitor/mounts 821s # End of volumemonitor tests 821s ok - glib/volumemonitor.test 821s # Running test: glib/testing.test 821s TAP version 13 821s # random seed: R02Sa080691710c65bf556118868ae4409e0 821s 1..1 821s # Start of assert tests 821s ok 1 /assert/finalize_object 821s # Start of finalize_object tests 821s # Start of subprocess tests 821s # End of subprocess tests 821s # End of finalize_object tests 821s # End of assert tests 821s ok - glib/testing.test 821s # Running test: glib/markup-collect.test 821s TAP version 13 821s # random seed: R02S61fef78732b927c2b957efe36d203b4a 821s 1..21 821s # Start of markup tests 821s # Start of collect tests 821s ok 1 /markup/collect/0 821s ok 2 /markup/collect/1 821s ok 3 /markup/collect/2 821s ok 4 /markup/collect/3 821s ok 5 /markup/collect/4 821s ok 6 /markup/collect/5 821s ok 7 /markup/collect/6 821s ok 8 /markup/collect/7 821s ok 9 /markup/collect/8 821s ok 10 /markup/collect/9 821s ok 11 /markup/collect/10 821s ok 12 /markup/collect/11 821s ok 13 /markup/collect/12 821s ok 14 /markup/collect/13 821s ok 15 /markup/collect/14 821s ok 16 /markup/collect/15 821s ok 17 /markup/collect/16 821s ok 18 /markup/collect/17 821s ok 19 /markup/collect/18 821s ok 20 /markup/collect/19 821s ok 21 /markup/collect/cleanup 821s # End of collect tests 821s # End of markup tests 821s ok - glib/markup-collect.test 821s # Running test: glib/io-channel-basic.test 821s TAP version 13 821s # random seed: R02S576f1dcf776c343b3ee8e392d99bfd5e 821s 1..1 821s # Start of gio tests 821s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 821s # # random seed: R02S818d970c8c2d2b160983473338d06f27 821s # # GLib-DEBUG: io-channel-basic: child writing 8+425 bytes to 6 821s # GLib-DEBUG: io-channel-basic: ...from 5: IN 821s # GLib-DEBUG: io-channel-basic: ...from 5: 425 bytes 821s # GLib-DEBUG: io-channel-basic: ...from 5: OK 821s # # GLib-DEBUG: io-channel-basic: child writing 8+2312 bytes to 6 821s # GLib-DEBUG: io-channel-basic: ...from 5: IN 821s # GLib-DEBUG: io-channel-basic: ...from 5: 2312 bytes 821s # GLib-DEBUG: io-channel-basic: ...from 5: OK 821s # # GLib-DEBUG: io-channel-basic: child writing 8+236 bytes to 6 821s # GLib-DEBUG: io-channel-basic: ...from 5: IN 821s # GLib-DEBUG: io-channel-basic: ...from 5: 236 bytes 821s # GLib-DEBUG: io-channel-basic: ...from 5: OK 821s # # GLib-DEBUG: io-channel-basic: child writing 8+4600 bytes to 6 821s # GLib-DEBUG: io-channel-basic: ...from 5: IN 821s # GLib-DEBUG: io-channel-basic: ...from 5: 4600 bytes 821s # GLib-DEBUG: io-channel-basic: ...from 5: OK 821s # # GLib-DEBUG: io-channel-basic: child writing 8+974 bytes to 6 821s # GLib-DEBUG: io-channel-basic: ...from 5: IN 821s # GLib-DEBUG: io-channel-basic: ...from 5: 974 bytes 821s # GLib-DEBUG: io-channel-basic: ...from 5: OK 821s # # GLib-DEBUG: io-channel-basic: child writing 8+1496 bytes to 6 821s # GLib-DEBUG: io-channel-basic: ...from 5: IN 821s # GLib-DEBUG: io-channel-basic: ...from 5: 1496 bytes 821s # GLib-DEBUG: io-channel-basic: ...from 5: OK 821s # # GLib-DEBUG: io-channel-basic: child writing 8+2284 bytes to 6 821s # GLib-DEBUG: io-channel-basic: ...from 5: IN 821s # GLib-DEBUG: io-channel-basic: ...from 5: 2284 bytes 821s # GLib-DEBUG: io-channel-basic: ...from 5: OK 822s # # GLib-DEBUG: io-channel-basic: child writing 8+4003 bytes to 6 822s # GLib-DEBUG: io-channel-basic: ...from 5: IN 822s # GLib-DEBUG: io-channel-basic: ...from 5: 4003 bytes 822s # GLib-DEBUG: io-channel-basic: ...from 5: OK 822s # # GLib-DEBUG: io-channel-basic: child writing 8+208 bytes to 6 822s # GLib-DEBUG: io-channel-basic: ...from 5: IN 822s # GLib-DEBUG: io-channel-basic: ...from 5: 208 bytes 822s # GLib-DEBUG: io-channel-basic: ...from 5: OK 822s # # GLib-DEBUG: io-channel-basic: child writing 8+2534 bytes to 6 822s # GLib-DEBUG: io-channel-basic: ...from 5: IN 822s # GLib-DEBUG: io-channel-basic: ...from 5: 2534 bytes 822s # GLib-DEBUG: io-channel-basic: ...from 5: OK 822s # Executing: glib/io-channel-basic.test 822s # # GLib-DEBUG: io-channel-basic: child writing 8+252 bytes to 6 822s # GLib-DEBUG: io-channel-basic: ...from 5: IN 822s # GLib-DEBUG: io-channel-basic: ...from 5: 252 bytes 822s # GLib-DEBUG: io-channel-basic: ...from 5: OK 823s # # GLib-DEBUG: io-channel-basic: child writing 8+3922 bytes to 6 823s # GLib-DEBUG: io-channel-basic: ...from 5: IN 823s # GLib-DEBUG: io-channel-basic: ...from 5: 3922 bytes 823s # GLib-DEBUG: io-channel-basic: ...from 5: OK 823s # # GLib-DEBUG: io-channel-basic: child writing 8+2709 bytes to 6 823s # GLib-DEBUG: io-channel-basic: ...from 5: IN 823s # GLib-DEBUG: io-channel-basic: ...from 5: 2709 bytes 823s # GLib-DEBUG: io-channel-basic: ...from 5: OK 823s # # GLib-DEBUG: io-channel-basic: child writing 8+3268 bytes to 6 823s # GLib-DEBUG: io-channel-basic: ...from 5: IN 823s # GLib-DEBUG: io-channel-basic: ...from 5: 3268 bytes 823s # GLib-DEBUG: io-channel-basic: ...from 5: OK 823s # # GLib-DEBUG: io-channel-basic: child writing 8+3112 bytes to 6 823s # GLib-DEBUG: io-channel-basic: ...from 5: IN 823s # GLib-DEBUG: io-channel-basic: ...from 5: 3112 bytes 823s # GLib-DEBUG: io-channel-basic: ...from 5: OK 824s # # GLib-DEBUG: io-channel-basic: child writing 8+2599 bytes to 6 824s # GLib-DEBUG: io-channel-basic: ...from 5: IN 824s # GLib-DEBUG: io-channel-basic: ...from 5: 2599 bytes 824s # GLib-DEBUG: io-channel-basic: ...from 5: OK 824s # # GLib-DEBUG: io-channel-basic: child writing 8+950 bytes to 6 824s # GLib-DEBUG: io-channel-basic: ...from 5: IN 824s # GLib-DEBUG: io-channel-basic: ...from 5: 950 bytes 824s # GLib-DEBUG: io-channel-basic: ...from 5: OK 824s # # GLib-DEBUG: io-channel-basic: child writing 8+3431 bytes to 6 824s # GLib-DEBUG: io-channel-basic: ...from 5: IN 824s # GLib-DEBUG: io-channel-basic: ...from 5: 3431 bytes 824s # GLib-DEBUG: io-channel-basic: ...from 5: OK 824s # # GLib-DEBUG: io-channel-basic: child writing 8+3522 bytes to 6 824s # GLib-DEBUG: io-channel-basic: ...from 5: IN 824s # GLib-DEBUG: io-channel-basic: ...from 5: 3522 bytes 824s # GLib-DEBUG: io-channel-basic: ...from 5: OK 825s # # GLib-DEBUG: io-channel-basic: child writing 8+2207 bytes to 6 825s # GLib-DEBUG: io-channel-basic: ...from 5: IN 825s # GLib-DEBUG: io-channel-basic: ...from 5: 2207 bytes 825s # GLib-DEBUG: io-channel-basic: ...from 5: OK 825s # # GLib-DEBUG: io-channel-basic: child writing 8+2589 bytes to 6 825s # GLib-DEBUG: io-channel-basic: ...from 5: IN 825s # GLib-DEBUG: io-channel-basic: ...from 5: 2589 bytes 825s # GLib-DEBUG: io-channel-basic: ...from 5: OK 825s # # GLib-DEBUG: io-channel-basic: child writing 8+3131 bytes to 6 825s # GLib-DEBUG: io-channel-basic: ...from 5: IN 825s # GLib-DEBUG: io-channel-basic: ...from 5: 3131 bytes 825s # GLib-DEBUG: io-channel-basic: ...from 5: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+2012 bytes to 6 826s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 826s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 826s # GLib-DEBUG: io-channel-basic: ...from 5: 2012 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 5: OK 826s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 826s # # random seed: R02Scc7222384673f166e1e174c04d4b2c52 826s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 826s # # random seed: R02S0318b46b1e0f4c9185bab00c1945eb31 826s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 826s # # random seed: R02S522101693e909b38e20a8680324185a5 826s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 826s # # random seed: R02Sd1267cc51979b0574e27155a6b2c3a94 826s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 826s # # random seed: R02Sc8ed62d602975e8fd71fd48587798c63 826s # # GLib-DEBUG: io-channel-basic: child writing 8+4528 bytes to 11 826s # GLib-DEBUG: io-channel-basic: ...from 10: IN 826s # GLib-DEBUG: io-channel-basic: ...from 10: 4528 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 10: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+2310 bytes to 9 826s # GLib-DEBUG: io-channel-basic: ...from 8: IN 826s # GLib-DEBUG: io-channel-basic: ...from 8: 2310 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 8: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+3592 bytes to 15 826s # GLib-DEBUG: io-channel-basic: ...from 14: IN 826s # GLib-DEBUG: io-channel-basic: ...from 14: 3592 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 14: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+1704 bytes to 13 826s # GLib-DEBUG: io-channel-basic: ...from 12: IN 826s # GLib-DEBUG: io-channel-basic: ...from 12: 1704 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 12: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+844 bytes to 17 826s # GLib-DEBUG: io-channel-basic: ...from 16: IN 826s # GLib-DEBUG: io-channel-basic: ...from 16: 844 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 16: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+73 bytes to 11 826s # GLib-DEBUG: io-channel-basic: ...from 10: IN 826s # GLib-DEBUG: io-channel-basic: ...from 10: 73 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 10: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+2583 bytes to 15 826s # GLib-DEBUG: io-channel-basic: ...from 14: IN 826s # GLib-DEBUG: io-channel-basic: ...from 14: 2583 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 14: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+902 bytes to 13 826s # GLib-DEBUG: io-channel-basic: ...from 12: IN 826s # GLib-DEBUG: io-channel-basic: ...from 12: 902 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 12: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+246 bytes to 17 826s # GLib-DEBUG: io-channel-basic: ...from 16: IN 826s # GLib-DEBUG: io-channel-basic: ...from 16: 246 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 16: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+4335 bytes to 9 826s # GLib-DEBUG: io-channel-basic: ...from 8: IN 826s # GLib-DEBUG: io-channel-basic: ...from 8: 4335 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 8: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+2050 bytes to 13 826s # GLib-DEBUG: io-channel-basic: ...from 12: IN 826s # GLib-DEBUG: io-channel-basic: ...from 12: 2050 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 12: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+696 bytes to 11 826s # GLib-DEBUG: io-channel-basic: ...from 10: IN 826s # GLib-DEBUG: io-channel-basic: ...from 10: 696 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 10: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+2653 bytes to 17 826s # GLib-DEBUG: io-channel-basic: ...from 16: IN 826s # GLib-DEBUG: io-channel-basic: ...from 16: 2653 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 16: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+476 bytes to 9 826s # GLib-DEBUG: io-channel-basic: ...from 8: IN 826s # GLib-DEBUG: io-channel-basic: ...from 8: 476 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 8: OK 826s # # GLib-DEBUG: io-channel-basic: child writing 8+2680 bytes to 15 826s # GLib-DEBUG: io-channel-basic: ...from 14: IN 826s # GLib-DEBUG: io-channel-basic: ...from 14: 2680 bytes 826s # GLib-DEBUG: io-channel-basic: ...from 14: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+3929 bytes to 11 827s # GLib-DEBUG: io-channel-basic: ...from 10: IN 827s # GLib-DEBUG: io-channel-basic: ...from 10: 3929 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 10: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4090 bytes to 17 827s # GLib-DEBUG: io-channel-basic: ...from 16: IN 827s # GLib-DEBUG: io-channel-basic: ...from 16: 4090 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 16: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4917 bytes to 9 827s # GLib-DEBUG: io-channel-basic: ...from 8: IN 827s # GLib-DEBUG: io-channel-basic: ...from 8: 4917 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 8: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+1431 bytes to 13 827s # GLib-DEBUG: io-channel-basic: ...from 12: IN 827s # GLib-DEBUG: io-channel-basic: ...from 12: 1431 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 12: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+417 bytes to 15 827s # GLib-DEBUG: io-channel-basic: ...from 14: IN 827s # GLib-DEBUG: io-channel-basic: ...from 14: 417 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 14: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+3009 bytes to 11 827s # GLib-DEBUG: io-channel-basic: ...from 10: IN 827s # GLib-DEBUG: io-channel-basic: ...from 10: 3009 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 10: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+1012 bytes to 9 827s # GLib-DEBUG: io-channel-basic: ...from 8: IN 827s # GLib-DEBUG: io-channel-basic: ...from 8: 1012 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 8: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+1880 bytes to 17 827s # GLib-DEBUG: io-channel-basic: ...from 16: IN 827s # GLib-DEBUG: io-channel-basic: ...from 16: 1880 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 16: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4882 bytes to 13 827s # GLib-DEBUG: io-channel-basic: ...from 12: IN 827s # GLib-DEBUG: io-channel-basic: ...from 12: 4882 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 12: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4087 bytes to 15 827s # GLib-DEBUG: io-channel-basic: ...from 14: IN 827s # GLib-DEBUG: io-channel-basic: ...from 14: 4087 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 14: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4487 bytes to 11 827s # GLib-DEBUG: io-channel-basic: ...from 10: IN 827s # GLib-DEBUG: io-channel-basic: ...from 10: 4487 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 10: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+874 bytes to 17 827s # GLib-DEBUG: io-channel-basic: ...from 16: IN 827s # GLib-DEBUG: io-channel-basic: ...from 16: 874 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 16: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+928 bytes to 9 827s # GLib-DEBUG: io-channel-basic: ...from 8: IN 827s # GLib-DEBUG: io-channel-basic: ...from 8: 928 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 8: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+2494 bytes to 13 827s # GLib-DEBUG: io-channel-basic: ...from 12: IN 827s # GLib-DEBUG: io-channel-basic: ...from 12: 2494 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 12: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+2443 bytes to 15 827s # GLib-DEBUG: io-channel-basic: ...from 14: IN 827s # GLib-DEBUG: io-channel-basic: ...from 14: 2443 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 14: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4797 bytes to 11 827s # Executing: glib/io-channel-basic.test 827s # GLib-DEBUG: io-channel-basic: ...from 10: IN 827s # GLib-DEBUG: io-channel-basic: ...from 10: 4797 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 10: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4383 bytes to 9 827s # GLib-DEBUG: io-channel-basic: ...from 8: IN 827s # GLib-DEBUG: io-channel-basic: ...from 8: 4383 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 8: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4149 bytes to 17 827s # GLib-DEBUG: io-channel-basic: ...from 16: IN 827s # GLib-DEBUG: io-channel-basic: ...from 16: 4149 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 16: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+4767 bytes to 13 827s # GLib-DEBUG: io-channel-basic: ...from 12: IN 827s # GLib-DEBUG: io-channel-basic: ...from 12: 4767 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 12: OK 827s # # GLib-DEBUG: io-channel-basic: child writing 8+1473 bytes to 15 827s # GLib-DEBUG: io-channel-basic: ...from 14: IN 827s # GLib-DEBUG: io-channel-basic: ...from 14: 1473 bytes 827s # GLib-DEBUG: io-channel-basic: ...from 14: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+3836 bytes to 11 828s # GLib-DEBUG: io-channel-basic: ...from 10: IN 828s # GLib-DEBUG: io-channel-basic: ...from 10: 3836 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 10: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+831 bytes to 17 828s # GLib-DEBUG: io-channel-basic: ...from 16: IN 828s # GLib-DEBUG: io-channel-basic: ...from 16: 831 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 16: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+3992 bytes to 9 828s # GLib-DEBUG: io-channel-basic: ...from 8: IN 828s # GLib-DEBUG: io-channel-basic: ...from 8: 3992 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 8: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+2320 bytes to 13 828s # GLib-DEBUG: io-channel-basic: ...from 12: IN 828s # GLib-DEBUG: io-channel-basic: ...from 12: 2320 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 12: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+4983 bytes to 15 828s # GLib-DEBUG: io-channel-basic: ...from 14: IN 828s # GLib-DEBUG: io-channel-basic: ...from 14: 4983 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 14: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+1864 bytes to 11 828s # GLib-DEBUG: io-channel-basic: ...from 10: IN 828s # GLib-DEBUG: io-channel-basic: ...from 10: 1864 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 10: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+4867 bytes to 17 828s # GLib-DEBUG: io-channel-basic: ...from 16: IN 828s # GLib-DEBUG: io-channel-basic: ...from 16: 4867 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 16: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+67 bytes to 9 828s # GLib-DEBUG: io-channel-basic: ...from 8: IN 828s # GLib-DEBUG: io-channel-basic: ...from 8: 67 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 8: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+1865 bytes to 13 828s # GLib-DEBUG: io-channel-basic: ...from 12: IN 828s # GLib-DEBUG: io-channel-basic: ...from 12: 1865 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 12: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+4926 bytes to 15 828s # GLib-DEBUG: io-channel-basic: ...from 14: IN 828s # GLib-DEBUG: io-channel-basic: ...from 14: 4926 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 14: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+3859 bytes to 11 828s # GLib-DEBUG: io-channel-basic: ...from 10: IN 828s # GLib-DEBUG: io-channel-basic: ...from 10: 3859 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 10: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+104 bytes to 9 828s # GLib-DEBUG: io-channel-basic: ...from 8: IN 828s # GLib-DEBUG: io-channel-basic: ...from 8: 104 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 8: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+3480 bytes to 17 828s # GLib-DEBUG: io-channel-basic: ...from 16: IN 828s # GLib-DEBUG: io-channel-basic: ...from 16: 3480 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 16: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+298 bytes to 15 828s # GLib-DEBUG: io-channel-basic: ...from 14: IN 828s # GLib-DEBUG: io-channel-basic: ...from 14: 298 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 14: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+1562 bytes to 13 828s # GLib-DEBUG: io-channel-basic: ...from 12: IN 828s # GLib-DEBUG: io-channel-basic: ...from 12: 1562 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 12: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+4920 bytes to 11 828s # GLib-DEBUG: io-channel-basic: ...from 10: IN 828s # GLib-DEBUG: io-channel-basic: ...from 10: 4920 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 10: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+3165 bytes to 17 828s # GLib-DEBUG: io-channel-basic: ...from 16: IN 828s # GLib-DEBUG: io-channel-basic: ...from 16: 3165 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 16: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+1766 bytes to 9 828s # GLib-DEBUG: io-channel-basic: ...from 8: IN 828s # GLib-DEBUG: io-channel-basic: ...from 8: 1766 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 8: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+4162 bytes to 15 828s # GLib-DEBUG: io-channel-basic: ...from 14: IN 828s # GLib-DEBUG: io-channel-basic: ...from 14: 4162 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 14: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+2418 bytes to 13 828s # GLib-DEBUG: io-channel-basic: ...from 12: IN 828s # GLib-DEBUG: io-channel-basic: ...from 12: 2418 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 12: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+3813 bytes to 11 829s # GLib-DEBUG: io-channel-basic: ...from 10: IN 829s # GLib-DEBUG: io-channel-basic: ...from 10: 3813 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 10: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4269 bytes to 17 829s # GLib-DEBUG: io-channel-basic: ...from 16: IN 829s # GLib-DEBUG: io-channel-basic: ...from 16: 4269 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 16: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+1744 bytes to 9 829s # GLib-DEBUG: io-channel-basic: ...from 8: IN 829s # GLib-DEBUG: io-channel-basic: ...from 8: 1744 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 8: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+3259 bytes to 13 829s # GLib-DEBUG: io-channel-basic: ...from 12: IN 829s # GLib-DEBUG: io-channel-basic: ...from 12: 3259 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 12: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4593 bytes to 15 829s # GLib-DEBUG: io-channel-basic: ...from 14: IN 829s # GLib-DEBUG: io-channel-basic: ...from 14: 4593 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 14: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+752 bytes to 11 829s # GLib-DEBUG: io-channel-basic: ...from 10: IN 829s # GLib-DEBUG: io-channel-basic: ...from 10: 752 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 10: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+3883 bytes to 17 829s # GLib-DEBUG: io-channel-basic: ...from 16: IN 829s # GLib-DEBUG: io-channel-basic: ...from 16: 3883 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 16: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+3751 bytes to 9 829s # GLib-DEBUG: io-channel-basic: ...from 8: IN 829s # GLib-DEBUG: io-channel-basic: ...from 8: 3751 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 8: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4472 bytes to 13 829s # GLib-DEBUG: io-channel-basic: ...from 12: IN 829s # GLib-DEBUG: io-channel-basic: ...from 12: 4472 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 12: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4104 bytes to 15 829s # GLib-DEBUG: io-channel-basic: ...from 14: IN 829s # GLib-DEBUG: io-channel-basic: ...from 14: 4104 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 14: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4763 bytes to 11 829s # GLib-DEBUG: io-channel-basic: ...from 10: IN 829s # GLib-DEBUG: io-channel-basic: ...from 10: 4763 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 10: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+597 bytes to 17 829s # GLib-DEBUG: io-channel-basic: ...from 16: IN 829s # GLib-DEBUG: io-channel-basic: ...from 16: 597 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 16: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+3202 bytes to 9 829s # GLib-DEBUG: io-channel-basic: ...from 8: IN 829s # GLib-DEBUG: io-channel-basic: ...from 8: 3202 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 8: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+2401 bytes to 13 829s # GLib-DEBUG: io-channel-basic: ...from 12: IN 829s # GLib-DEBUG: io-channel-basic: ...from 12: 2401 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 12: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4325 bytes to 15 829s # GLib-DEBUG: io-channel-basic: ...from 14: IN 829s # GLib-DEBUG: io-channel-basic: ...from 14: 4325 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 14: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+20 bytes to 11 829s # GLib-DEBUG: io-channel-basic: ...from 10: IN 829s # GLib-DEBUG: io-channel-basic: ...from 10: 20 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 10: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+3773 bytes to 17 829s # GLib-DEBUG: io-channel-basic: ...from 16: IN 829s # GLib-DEBUG: io-channel-basic: ...from 16: 3773 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 16: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+886 bytes to 9 829s # GLib-DEBUG: io-channel-basic: ...from 8: IN 829s # GLib-DEBUG: io-channel-basic: ...from 8: 886 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 8: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+317 bytes to 13 829s # GLib-DEBUG: io-channel-basic: ...from 12: IN 829s # GLib-DEBUG: io-channel-basic: ...from 12: 317 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 12: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+1384 bytes to 15 830s # GLib-DEBUG: io-channel-basic: ...from 14: IN 830s # GLib-DEBUG: io-channel-basic: ...from 14: 1384 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 14: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+1094 bytes to 11 830s # GLib-DEBUG: io-channel-basic: ...from 10: IN 830s # GLib-DEBUG: io-channel-basic: ...from 10: 1094 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 10: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+3116 bytes to 9 830s # GLib-DEBUG: io-channel-basic: ...from 8: IN 830s # GLib-DEBUG: io-channel-basic: ...from 8: 3116 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 8: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+2680 bytes to 17 830s # GLib-DEBUG: io-channel-basic: ...from 16: IN 830s # GLib-DEBUG: io-channel-basic: ...from 16: 2680 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 16: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+2365 bytes to 13 830s # GLib-DEBUG: io-channel-basic: ...from 12: IN 830s # GLib-DEBUG: io-channel-basic: ...from 12: 2365 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 12: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+3401 bytes to 15 830s # GLib-DEBUG: io-channel-basic: ...from 14: IN 830s # GLib-DEBUG: io-channel-basic: ...from 14: 3401 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 14: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+564 bytes to 11 830s # GLib-DEBUG: io-channel-basic: ...from 10: IN 830s # GLib-DEBUG: io-channel-basic: ...from 10: 564 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 10: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+891 bytes to 17 830s # GLib-DEBUG: io-channel-basic: ...from 16: IN 830s # GLib-DEBUG: io-channel-basic: ...from 16: 891 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 16: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+1714 bytes to 9 830s # GLib-DEBUG: io-channel-basic: ...from 8: IN 830s # GLib-DEBUG: io-channel-basic: ...from 8: 1714 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 8: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+1903 bytes to 13 830s # GLib-DEBUG: io-channel-basic: ...from 12: IN 830s # GLib-DEBUG: io-channel-basic: ...from 12: 1903 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 12: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+1490 bytes to 15 830s # GLib-DEBUG: io-channel-basic: ...from 14: IN 830s # GLib-DEBUG: io-channel-basic: ...from 14: 1490 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 14: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+629 bytes to 11 830s # GLib-DEBUG: io-channel-basic: ...from 10: IN 830s # GLib-DEBUG: io-channel-basic: ...from 10: 629 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 10: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+3195 bytes to 17 830s # GLib-DEBUG: io-channel-basic: ...from 16: IN 830s # GLib-DEBUG: io-channel-basic: ...from 16: 3195 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 16: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+4727 bytes to 15 830s # GLib-DEBUG: io-channel-basic: ...from 14: IN 830s # GLib-DEBUG: io-channel-basic: ...from 14: 4727 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 14: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+1762 bytes to 9 830s # GLib-DEBUG: io-channel-basic: ...from 8: IN 830s # GLib-DEBUG: io-channel-basic: ...from 8: 1762 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 8: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+3750 bytes to 13 830s # GLib-DEBUG: io-channel-basic: ...from 12: IN 830s # GLib-DEBUG: io-channel-basic: ...from 12: 3750 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 12: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+619 bytes to 11 830s # GLib-DEBUG: io-channel-basic: ...from 10: IN 830s # GLib-DEBUG: io-channel-basic: ...from 10: 619 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 10: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+2288 bytes to 17 831s # GLib-DEBUG: io-channel-basic: ...from 16: IN 831s # GLib-DEBUG: io-channel-basic: ...from 16: 2288 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 16: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+3895 bytes to 15 831s # GLib-DEBUG: io-channel-basic: ...from 14: IN 831s # GLib-DEBUG: io-channel-basic: ...from 14: 3895 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 14: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+1232 bytes to 9 831s # GLib-DEBUG: io-channel-basic: ...from 8: IN 831s # GLib-DEBUG: io-channel-basic: ...from 8: 1232 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 8: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+427 bytes to 13 831s # GLib-DEBUG: io-channel-basic: ...from 12: IN 831s # GLib-DEBUG: io-channel-basic: ...from 12: 427 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 12: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+670 bytes to 11 831s # GLib-DEBUG: io-channel-basic: ...from 10: IN 831s # GLib-DEBUG: io-channel-basic: ...from 10: 670 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 10: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+4715 bytes to 17 831s # GLib-DEBUG: io-channel-basic: ...from 16: IN 831s # GLib-DEBUG: io-channel-basic: ...from 16: 4715 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 16: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+4397 bytes to 15 831s # GLib-DEBUG: io-channel-basic: ...from 14: IN 831s # GLib-DEBUG: io-channel-basic: ...from 14: 4397 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 14: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+405 bytes to 9 831s # # GLib-DEBUG: io-channel-basic: child writing 8+1639 bytes to 13 831s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 831s # GLib-DEBUG: io-channel-basic: ...from 8: IN 831s # GLib-DEBUG: io-channel-basic: ...from 8: 405 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 8: OK 831s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 831s # GLib-DEBUG: io-channel-basic: ...from 12: 1639 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 12: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+4584 bytes to 11 831s # GLib-DEBUG: io-channel-basic: ...from 10: IN 831s # GLib-DEBUG: io-channel-basic: ...from 10: 4584 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 10: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+1758 bytes to 17 831s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 831s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 831s # GLib-DEBUG: io-channel-basic: ...from 16: 1758 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 16: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+1142 bytes to 15 831s # GLib-DEBUG: io-channel-basic: ...from 14: IN 831s # GLib-DEBUG: io-channel-basic: ...from 14: 1142 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 14: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+216 bytes to 9 831s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 831s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 831s # GLib-DEBUG: io-channel-basic: ...from 8: 216 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 8: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+1217 bytes to 11 831s # GLib-DEBUG: io-channel-basic: ...from 10: IN 831s # GLib-DEBUG: io-channel-basic: ...from 10: 1217 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 10: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+3832 bytes to 15 831s # GLib-DEBUG: io-channel-basic: ...from 14: IN 831s # GLib-DEBUG: io-channel-basic: ...from 14: 3832 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 14: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+957 bytes to 11 832s # GLib-DEBUG: io-channel-basic: ...from 10: IN 832s # GLib-DEBUG: io-channel-basic: ...from 10: 957 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 10: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+2903 bytes to 15 832s # GLib-DEBUG: io-channel-basic: ...from 14: IN 832s # GLib-DEBUG: io-channel-basic: ...from 14: 2903 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 14: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+4215 bytes to 11 832s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 832s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 832s # GLib-DEBUG: io-channel-basic: ...from 10: 4215 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 10: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+3058 bytes to 15 832s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 832s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 832s # GLib-DEBUG: io-channel-basic: ...from 14: 3058 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 14: OK 832s ok 1 /gio/io-basics 832s # slow test /gio/io-basics executed in 12.27 secs 832s # End of gio tests 832s ok - glib/io-channel-basic.test 832s # Running test: glib/gobject-private.test 832s TAP version 13 832s # random seed: R02S0b08b370d3c9bfb23469bbfe6b317f88 832s 1..3 832s # Start of private tests 832s ok 1 /private/instance 832s ok 2 /private/derived-instance 832s ok 3 /private/mixed-derived-instance 832s # End of private tests 832s ok - glib/gobject-private.test 832s # Running test: glib/atomic-c-99.test 832s TAP version 13 832s # random seed: R02Sedbfe3b10ff1f94f5682b16d2e23998e 832s 1..2 832s # Start of atomic tests 832s ok 1 /atomic/types 832s ok 2 /atomic/threaded 832s # End of atomic tests 832s ok - glib/atomic-c-99.test 832s # Running test: glib/type-flags.test 832s TAP version 13 832s # random seed: R02Sf0808dd06ea15c68458eb25fb6c637fb 832s 1..4 832s # Start of type tests 832s # Start of flags tests 832s ok 1 /type/flags/interface 832s ok 2 /type/flags/final 832s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 832s ok 3 /type/flags/deprecated 832s # Start of final tests 832s ok 4 /type/flags/final/instance-check 832s # End of final tests 832s # End of flags tests 832s # End of type tests 832s ok - glib/type-flags.test 832s # Running test: glib/custom-dispatch.test 832s TAP version 13 832s # random seed: R02S8e9d420a0bbd794979c5a9d7146a2eeb 832s 1..2 832s # Start of properties tests 832s # Start of custom-dispatch tests 832s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 832s ok 1 /properties/custom-dispatch/init 832s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 832s ok 2 /properties/custom-dispatch/set 832s # End of custom-dispatch tests 832s # End of properties tests 832s ok - glib/custom-dispatch.test 832s # Running test: glib/performance-threaded.test 832s Running test "liststore-is-a" 832s # Executing: glib/performance-threaded.test 839s 13662 runs, min/avg/max = 0.066/0.073/68.582 ms 839s Running test "liststore-interface-peek" 839s 27599 runs, min/avg/max = 0.034/0.036/10.734 ms 839s Running test "liststore-interface-peek-same" 839s 27804 runs, min/avg/max = 0.034/0.036/0.404 ms 839s ok - glib/performance-threaded.test 839s # Running test: glib/strvbuilder.test 839s TAP version 13 839s # random seed: R02Sde6a3c3c46c05fd053e7cb1ba6ff8f6e 839s 1..6 839s # Start of strvbuilder tests 839s ok 1 /strvbuilder/empty 839s ok 2 /strvbuilder/add 839s ok 3 /strvbuilder/addv 839s ok 4 /strvbuilder/add_many 839s ok 5 /strvbuilder/take 839s ok 6 /strvbuilder/ref 839s # End of strvbuilder tests 839s ok - glib/strvbuilder.test 839s # Running test: glib/references.test 839s TAP version 13 839s # random seed: R02Sc3b148ce6abfb4157bb9c5be5f83904b 839s 1..1 839s # Start of gobject tests 839s ok 1 /gobject/references 839s # End of gobject tests 839s ok - glib/references.test 839s # Running test: glib/option-argv0.test 839s TAP version 13 839s # random seed: R02Saeae67bcce4c6601cd647243c34afec3 839s 1..1 839s # Start of option tests 839s ok 1 /option/argv0 839s # End of option tests 839s ok - glib/option-argv0.test 839s # Running test: glib/convert.test 839s TAP version 13 839s # random seed: R02S8228040458f8b10e2d95344ba1580337 839s 1..14 839s # Start of conversion tests 839s ok 1 /conversion/no-conv 839s ok 2 /conversion/iconv-state 839s ok 3 /conversion/illegal-sequence 839s ok 4 /conversion/byte-order 839s ok 5 /conversion/unicode 839s ok 6 /conversion/filename-utf8 839s ok 7 /conversion/filename-display 839s ok 8 /conversion/convert-embedded-nul 839s # Start of locale-to-utf8 tests 839s ok 9 /conversion/locale-to-utf8/embedded-nul 839s # Start of embedded-nul tests 839s # Start of subprocess tests 839s # End of subprocess tests 839s # End of embedded-nul tests 839s # End of locale-to-utf8 tests 839s # Start of locale-from-utf8 tests 839s ok 10 /conversion/locale-from-utf8/embedded-nul 839s # Start of embedded-nul tests 839s # Start of subprocess tests 839s # End of subprocess tests 839s # End of embedded-nul tests 839s # End of locale-from-utf8 tests 839s # Start of filename-to-utf8 tests 839s ok 11 /conversion/filename-to-utf8/embedded-nul 839s # Start of embedded-nul tests 839s # Start of subprocess tests 839s # End of subprocess tests 839s # End of embedded-nul tests 839s # End of filename-to-utf8 tests 839s # Start of filename-from-utf8 tests 839s ok 12 /conversion/filename-from-utf8/embedded-nul 839s # Start of embedded-nul tests 839s # Start of subprocess tests 839s # End of subprocess tests 839s # End of embedded-nul tests 839s # End of filename-from-utf8 tests 839s # Start of filename-from-uri tests 839s ok 13 /conversion/filename-from-uri/query-is-ignored 839s ok 14 /conversion/filename-from-uri/fragment-is-ignored 839s # End of filename-from-uri tests 839s # End of conversion tests 839s ok - glib/convert.test 839s # Running test: glib/atomic-c-11.test 839s TAP version 13 839s # random seed: R02S038ed99aeca6b77197207a6870ea002d 839s 1..2 839s # Start of atomic tests 839s ok 1 /atomic/types 839s ok 2 /atomic/threaded 839s # End of atomic tests 839s ok - glib/atomic-c-11.test 839s # Running test: glib/mainloop.test 839s TAP version 13 839s # random seed: R02S3fa69748ce53ec5cb25621863d83d127 839s 1..45 839s # Start of maincontext tests 839s ok 1 /maincontext/basic 839s # Add same-priority sources: 13 839s # Find each source: 2 839s # Remove in random order: 31 839s ok 2 /maincontext/nsources_same_priority 839s # Add different-priority sources: 13 839s # Find each source: 2 839s # Remove in random order: 36 839s ok 3 /maincontext/nsources_different_priority 839s # Add sources from threads: 207 839s # Remove sources from threads: 42 839s ok 4 /maincontext/nsources_threadpool 839s ok 5 /maincontext/source_finalization 839s # /maincontext/idle-once summary: Test g_idle_add_once() works 839s ok 6 /maincontext/idle-once 839s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 839s ok 7 /maincontext/timeout-once 839s # Start of source_finalization_from_source tests 839s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 8 /maincontext/source_finalization_from_source/0 839s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 9 /maincontext/source_finalization_from_source/1 839s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 10 /maincontext/source_finalization_from_source/2 839s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 11 /maincontext/source_finalization_from_source/3 839s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 12 /maincontext/source_finalization_from_source/4 839s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 13 /maincontext/source_finalization_from_source/5 839s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 14 /maincontext/source_finalization_from_source/6 839s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 15 /maincontext/source_finalization_from_source/7 839s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 16 /maincontext/source_finalization_from_source/8 839s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 839s ok 17 /maincontext/source_finalization_from_source/9 839s # End of source_finalization_from_source tests 839s # Start of source_finalization_from_dispatch tests 839s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 839s ok 18 /maincontext/source_finalization_from_dispatch/0 839s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 839s ok 19 /maincontext/source_finalization_from_dispatch/1 839s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 839s ok 20 /maincontext/source_finalization_from_dispatch/2 839s # End of source_finalization_from_dispatch tests 839s # End of maincontext tests 839s # Start of mainloop tests 839s ok 21 /mainloop/basic 839s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 839s ok 23 /mainloop/priorities 839s ok 24 /mainloop/invoke 839s # slow test /mainloop/invoke executed in 0.50 secs 839s ok 25 /mainloop/child_sources 839s # slow test /mainloop/child_sources executed in 1.18 secs 839s # Executing: glib/mainloop.test 839s ok 26 /mainloop/recursive_child_sources 839s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 839s ok 27 /mainloop/recursive_loop_child_sources 840s ok 28 /mainloop/swapping_child_sources 840s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 840s ok 29 /mainloop/blocked_child_sources 841s ok 30 /mainloop/source_time 841s # slow test /mainloop/source_time executed in 1.00 secs 841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 841s ok 31 /mainloop/overflow 841s ok 32 /mainloop/ready-time 841s # slow test /mainloop/ready-time executed in 0.50 secs 841s ok 33 /mainloop/wakeup 841s ok 34 /mainloop/remove-invalid 841s ok 35 /mainloop/unref-while-pending 842s ok 36 /mainloop/unix-fd 842s # slow test /mainloop/unix-fd executed in 0.54 secs 842s ok 37 /mainloop/unix-fd-source 842s ok 38 /mainloop/source-unix-fd-api 842s ok 39 /mainloop/wait 842s ok 40 /mainloop/unix-file-poll 842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 842s ok 41 /mainloop/unix-fd-priority 842s ok 42 /mainloop/nfds 842s ok 43 /mainloop/steal-fd 842s # Start of ownerless-polling tests 842s ok 44 /mainloop/ownerless-polling/attach-first 842s ok 45 /mainloop/ownerless-polling/pop-first 842s # End of ownerless-polling tests 842s # End of mainloop tests 842s ok - glib/mainloop.test 842s # Running test: glib/include.test 842s TAP version 13 842s # random seed: R02S89ee71831ae0203379cff959a852dd72 842s 1..1 842s # Start of include tests 842s ok 1 /include/rwlock 842s # End of include tests 842s ok - glib/include.test 842s # Running test: glib/bitlock.test 842s TAP version 13 842s # random seed: R02Sebd07238e43518d911deb10202db0fc2 842s 1..1 842s # Start of bitlock tests 842s # Start of performance tests 842s # max perf: iterations per second 842s ok 1 /bitlock/performance/uncontended 842s # End of performance tests 842s # End of bitlock tests 842s ok - glib/bitlock.test 842s # Running test: glib/gsocketclient-slow.test 842s TAP version 13 842s # random seed: R02Sbf5ff0313bd3c12546a9d9b4e3fcfb5b 842s 1..3 842s # Start of socket-client tests 842s # Start of happy-eyeballs tests 842s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 842s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2a442452af0 and GSocketClientAsyncConnectData 0xb2a44244c2b0 842s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 842s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 842s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2a442454200 for GSocketClientAsyncConnectData 0xb2a44244c2b0 842s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 847s # Executing: glib/gsocketclient-slow.test 847s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 847s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 847s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 847s ok 1 /socket-client/happy-eyeballs/slow 847s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 847s # Start of cancellation tests 847s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2a442457950 and GSocketClientAsyncConnectData 0xb2a442453a10 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 847s ok 2 /socket-client/happy-eyeballs/cancellation/instant 847s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb2a442456710 and GSocketClientAsyncConnectData 0xb2a44244c2b0 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 847s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb2a442458540 for GSocketClientAsyncConnectData 0xb2a44244c2b0 847s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 847s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 847s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 847s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 847s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 847s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 847s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 847s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 847s # End of cancellation tests 847s # End of happy-eyeballs tests 847s # End of socket-client tests 847s ok - glib/gsocketclient-slow.test 847s # Running test: glib/utils-c-99.test 847s TAP version 13 847s # random seed: R02S77a8bbd3b91b1646e4a6c04c107abe70 847s 1..40 847s # Start of utils tests 847s ok 1 /utils/language-names 847s ok 2 /utils/locale-variants 847s ok 3 /utils/version 847s ok 4 /utils/appname 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 847s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 847s ok 5 /utils/prgname-thread-safety 847s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 847s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 847s ok 6 /utils/tmpdir 847s ok 7 /utils/basic_bits 847s ok 8 /utils/bits 847s ok 9 /utils/swap 847s ok 10 /utils/find-program 847s ok 11 /utils/find-program-for-path 847s ok 12 /utils/debug 847s ok 13 /utils/codeset 847s ok 14 /utils/codeset2 847s ok 15 /utils/console-charset 847s ok 16 /utils/gettext 847s ok 17 /utils/username 847s ok 18 /utils/realname 847s ok 19 /utils/hostname 847s ok 20 /utils/xdgdirs 847s ok 21 /utils/specialdir 847s # NAME: Ubuntu 847s ok 22 /utils/os-info 847s ok 23 /utils/clear-pointer 847s ok 24 /utils/clear-pointer-cast 847s ok 25 /utils/take-pointer 847s ok 26 /utils/clear-source 847s ok 27 /utils/misc-mem 847s # /utils/aligned-mem summary: Aligned memory allocator 847s # Alignment must not be zero 847s # Alignment must be a power of two 847s # Alignment must be a multiple of sizeof(void*) 847s ok 28 /utils/aligned-mem 847s # /utils/free-sized summary: Check that g_free_sized() works 847s ok 29 /utils/free-sized 847s ok 30 /utils/nullify 847s ok 31 /utils/atexit 847s ok 32 /utils/check-setuid 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 847s ok 33 /utils/int-limits 847s ok 34 /utils/clear-list 847s ok 35 /utils/clear-slist 847s # Start of specialdir tests 847s ok 36 /utils/specialdir/desktop 847s # End of specialdir tests 847s # Start of clear-pointer tests 847s ok 37 /utils/clear-pointer/side-effects 847s # End of clear-pointer tests 847s # Start of aligned-mem tests 847s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 847s ok 38 /utils/aligned-mem/alignment 847s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 847s ok 39 /utils/aligned-mem/zeroed 847s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 847s ok 40 /utils/aligned-mem/free-sized 847s # Start of subprocess tests 847s # End of subprocess tests 847s # End of aligned-mem tests 847s # End of utils tests 847s ok - glib/utils-c-99.test 847s # Running test: glib/g-icon.test 847s TAP version 13 847s # random seed: R02S7cb96585d603951ab99a2497a5ec8f70 847s 1..6 847s # Start of icons tests 847s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 847s ok 1 /icons/to-string 847s ok 2 /icons/serialize 847s ok 3 /icons/themed 847s ok 4 /icons/emblemed 847s ok 5 /icons/file 847s ok 6 /icons/bytes 847s # End of icons tests 847s ok - glib/g-icon.test 847s # Running test: glib/module-test-plugin.test 847s TAP version 13 847s # random seed: R02S18a644334fde4daf041c7ce421a0cbb9 847s 1..2 847s # Start of module tests 847s ok 1 /module/basics 847s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 847s ok 2 /module/invalid-libtool-archive 847s # End of module tests 847s ok - glib/module-test-plugin.test 847s # Running test: glib/gdbus-sasl.test 847s TAP version 13 847s # random seed: R02S554cc1e106b93c66da3a2ee6f5502c9f 847s 1..1 847s # Start of gdbus tests 847s # Start of sasl tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_JHBMK2/gdbus/sasl/server/.dirs/runtime 847s # New handshake: EXTERNAL with incorrect initial response 847s # C:“AUTH EXTERNAL 30†847s # Expect: /^REJECTED.*$/ 847s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†847s # New handshake: EXTERNAL without initial response, failing to authenticate 847s # C:“AUTH EXTERNAL†847s # Expect: /^DATA$/ 847s # S:“DATA†847s # C:“DATA 30†847s # Expect: /^REJECTED.*$/ 847s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†847s # New handshake: EXTERNAL with initial response 847s # C:“AUTH EXTERNAL 31303030†847s # Expect: /^OK [0-9a-f]+$/ 847s # S:“OK b3d59fb2f9e7a03a931dcc4d65fb2b97†847s # New handshake: EXTERNAL without initial response 847s # C:“AUTH EXTERNAL†847s # Expect: /^DATA$/ 847s # S:“DATA†847s # C:“DATA 31303030†847s # Expect: /^OK [0-9a-f]+$/ 847s # S:“OK b3d59fb2f9e7a03a931dcc4d65fb2b97†847s # New handshake: EXTERNAL with empty authorization identity 847s # C:“AUTH EXTERNAL†847s # Expect: /^DATA$/ 847s # S:“DATA†847s # C:“DATA†847s # Expect: /^OK [0-9a-f]+$/ 847s # S:“OK b3d59fb2f9e7a03a931dcc4d65fb2b97†847s # New handshake: EXTERNAL with empty authorization identity and whitespace 847s # C:“AUTH EXTERNAL†847s # Expect: /^DATA$/ 847s # S:“DATA†847s # C:“DATA †847s # Expect: /^OK [0-9a-f]+$/ 847s # S:“OK b3d59fb2f9e7a03a931dcc4d65fb2b97†847s ok 1 /gdbus/sasl/server 847s # End of sasl tests 847s # End of gdbus tests 847s ok - glib/gdbus-sasl.test 847s # Running test: glib/network-address.test 847s TAP version 13 847s # random seed: R02Se3bfd90cd5b6ac66536c4679a1a14dc8 847s 1..72 847s # Start of network-address tests 847s ok 1 /network-address/basic 847s ok 2 /network-address/scope-id 847s ok 3 /network-address/uri-scope-id 847s ok 4 /network-address/to-string 847s # Start of parse-host tests 847s ok 5 /network-address/parse-host/0 847s ok 6 /network-address/parse-host/1 847s ok 7 /network-address/parse-host/2 847s ok 8 /network-address/parse-host/3 847s ok 9 /network-address/parse-host/4 847s ok 10 /network-address/parse-host/5 847s ok 11 /network-address/parse-host/6 847s ok 12 /network-address/parse-host/7 847s ok 13 /network-address/parse-host/8 847s ok 14 /network-address/parse-host/9 847s ok 15 /network-address/parse-host/10 847s ok 16 /network-address/parse-host/11 847s ok 17 /network-address/parse-host/12 847s ok 18 /network-address/parse-host/13 847s # End of parse-host tests 847s # Start of parse-uri tests 847s ok 19 /network-address/parse-uri/0 847s ok 20 /network-address/parse-uri/1 847s ok 21 /network-address/parse-uri/2 847s ok 22 /network-address/parse-uri/3 847s ok 23 /network-address/parse-uri/4 847s ok 24 /network-address/parse-uri/5 847s ok 25 /network-address/parse-uri/6 847s ok 26 /network-address/parse-uri/7 847s ok 27 /network-address/parse-uri/8 847s ok 28 /network-address/parse-uri/9 847s # End of parse-uri tests 847s # Start of resolve-address tests 847s # Input: 192.168.1.2 847s ok 29 /network-address/resolve-address/0 847s # Input: fe80::42 847s ok 30 /network-address/resolve-address/1 847s # Input: 192.168.1.2:80 847s ok 31 /network-address/resolve-address/2 847s # Input: [fe80::42] 847s ok 32 /network-address/resolve-address/3 847s # Input: [fe80::42]:80 847s ok 33 /network-address/resolve-address/4 847s # Input: 192.168.258 847s ok 34 /network-address/resolve-address/5 847s # Input: 192.11010306 847s ok 35 /network-address/resolve-address/6 847s # Input: 3232235778 847s ok 36 /network-address/resolve-address/7 847s # Input: 0300.0250.0001.0001 847s ok 37 /network-address/resolve-address/8 847s # Input: 0xC0.0xA8.0x01.0x02 847s ok 38 /network-address/resolve-address/9 847s # Input: 0xc0.0xa8.0x01.0x02 847s ok 39 /network-address/resolve-address/10 847s # Input: 0xc0a80102 847s ok 40 /network-address/resolve-address/11 847s # End of resolve-address tests 847s # Start of loopback tests 847s ok 41 /network-address/loopback/basic 847s ok 42 /network-address/loopback/sync 847s ok 43 /network-address/loopback/async 847s # End of loopback tests 847s # Start of localhost tests 847s ok 44 /network-address/localhost/async 847s ok 45 /network-address/localhost/sync 847s # End of localhost tests 847s # Start of happy-eyeballs tests 847s ok 46 /network-address/happy-eyeballs/basic 847s ok 47 /network-address/happy-eyeballs/parallel 847s ok 48 /network-address/happy-eyeballs/slow-ipv4 847s ok 49 /network-address/happy-eyeballs/slow-ipv6 847s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 847s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 847s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 847s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 847s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 847s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 847s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 847s # /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. 847s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 847s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 847s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 847s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 847s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 847s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 847s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 847s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 847s ok 57 /network-address/happy-eyeballs/both-error 847s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 847s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 847s ok 58 /network-address/happy-eyeballs/both-error-delays-1 847s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 847s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 847s ok 59 /network-address/happy-eyeballs/both-error-delays-2 847s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 847s ok 60 /network-address/happy-eyeballs/both-error-delays-3 847s # End of happy-eyeballs tests 847s # End of network-address tests 847s # Start of gresolver tests 847s # Start of resolve-address tests 847s # Input: 192.168.1.2 847s ok 61 /gresolver/resolve-address/0 847s # Input: fe80::42 847s ok 62 /gresolver/resolve-address/1 847s # Input: 192.168.1.2:80 847s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 847s ok 63 /gresolver/resolve-address/2 847s # Input: [fe80::42] 847s # Error: Error resolving ?[fe80::42]?: Name or service not known 847s ok 64 /gresolver/resolve-address/3 847s # Input: [fe80::42]:80 847s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 847s ok 65 /gresolver/resolve-address/4 847s # Input: 192.168.258 847s # Error: Error resolving ?192.168.258?: Name or service not known 847s ok 66 /gresolver/resolve-address/5 847s # Input: 192.11010306 847s # Error: Error resolving ?192.11010306?: Name or service not known 847s ok 67 /gresolver/resolve-address/6 847s # Input: 3232235778 847s # Error: Error resolving ?3232235778?: Name or service not known 847s ok 68 /gresolver/resolve-address/7 847s # Input: 0300.0250.0001.0001 847s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 847s ok 69 /gresolver/resolve-address/8 847s # Input: 0xC0.0xA8.0x01.0x02 847s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 847s ok 70 /gresolver/resolve-address/9 847s # Input: 0xc0.0xa8.0x01.0x02 847s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 847s ok 71 /gresolver/resolve-address/10 847s # Input: 0xc0a80102 847s # Error: Error resolving ?0xc0a80102?: Name or service not known 847s ok 72 /gresolver/resolve-address/11 847s # End of resolve-address tests 847s # End of gresolver tests 847s ok - glib/network-address.test 847s # Running test: glib/permission.test 847s TAP version 13 847s # random seed: R02S527d8a6abee3c907a45e34d1a5f7e8a9 847s 1..1 847s # Start of permission tests 847s ok 1 /permission/simple 847s # End of permission tests 847s ok - glib/permission.test 847s # Running test: glib/override.test 847s TAP version 13 847s # random seed: R02S9367c3f0fc503dcb17999d4f4e26e948 847s 1..1 847s # Start of gobject tests 847s # *** emitting foo on a TestA instance 847s # Expecting: TestA::foo,TestI::foo 847s # Got: TestA::foo,TestI::foo 847s # *** emitting bar on a TestA instance 847s # Expecting: TestA::bar 847s # Got: TestA::bar 847s # *** emitting baz on a TestA instance 847s # Expecting: TestA::baz 847s # Got: TestA::baz 847s # *** emitting foo on a TestB instance 847s # Expecting: TestB::foo,TestA::foo,TestI::foo 847s # Got: TestB::foo,TestA::foo,TestI::foo 847s # *** emitting bar on a TestB instance 847s # Expecting: TestB::bar,TestA::bar 847s # Got: TestB::bar,TestA::bar 847s # *** emitting baz on a TestB instance 847s # Expecting: TestB::baz,TestA::baz 847s # Got: TestB::baz,TestA::baz 847s # *** emitting foo on a TestC instance 847s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 847s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 847s # *** emitting bar on a TestC instance 847s # Expecting: TestC::bar,TestB::bar,TestA::bar 847s # Got: TestC::bar,TestB::bar,TestA::bar 847s # *** emitting baz on a TestC instance 847s # Expecting: TestC::baz,TestB::baz,TestA::baz 847s # Got: TestC::baz,TestB::baz,TestA::baz 847s ok 1 /gobject/override 847s # End of gobject tests 847s ok - glib/override.test 847s # Running test: glib/cancellable.test 847s TAP version 13 847s # random seed: R02S9ba7a871b7ba2bcac62aefb754ceaa49 847s 1..10 847s # Start of cancellable tests 847s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 847s ok 2 /cancellable/null 847s # /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 847s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 847s # /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 847s ok 4 /cancellable/resets-on-cancel-callback-hangs 847s ok 5 /cancellable/poll-fd 847s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 847s ok 6 /cancellable/poll-fd-cancelled 847s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 847s ok 7 /cancellable/poll-fd-cancelled-threaded 847s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 847s ok 8 /cancellable/cancel-reset-races 847s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 847s ok 9 /cancellable/cancel-reset-connect-races 847s # End of cancellable tests 847s # Start of cancellable-source tests 847s # /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) 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 847s ok 10 /cancellable-source/threaded-dispose 847s # slow test /cancellable-source/threaded-dispose executed in 0.74 secs 847s # End of cancellable-source tests 847s ok - glib/cancellable.test 847s # Running test: glib/network-monitor-race.test 847s TAP version 13 847s # random seed: R02S9505938ffa8e2167cff8b25d1f14451c 847s 1..1 847s # Start of network-monitor tests 847s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 847s # Executing: glib/network-monitor-race.test 848s ok 1 /network-monitor/create-in-thread 848s # slow test /network-monitor/create-in-thread executed in 2.39 secs 848s # End of network-monitor tests 848s ok - glib/network-monitor-race.test 848s # Running test: glib/unix-streams.test 848s TAP version 13 848s # random seed: R02Sb8becf15bb618b537092d8b25fe49e80 848s 1..9 848s # Start of unix-streams tests 848s ok 1 /unix-streams/basic 849s ok 2 /unix-streams/pipe-io-test 849s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 849s ok 3 /unix-streams/nonblocking-io-test 849s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 849s ok 4 /unix-streams/read_write 849s ok 5 /unix-streams/read_writev 849s ok 6 /unix-streams/write-wouldblock 849s ok 7 /unix-streams/writev-wouldblock 849s ok 8 /unix-streams/write-async-wouldblock 849s ok 9 /unix-streams/writev-async-wouldblock 849s # End of unix-streams tests 849s ok - glib/unix-streams.test 849s # Running test: glib/gdbus-message.test 849s TAP version 13 849s # random seed: R02S14960823f319c6d54969c0ead2778d5c 849s 1..3 849s # Start of gdbus tests 849s # Start of message tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_LWCRK2/gdbus/message/lock/.dirs/runtime 849s ok 1 /gdbus/message/lock 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_LWCRK2/gdbus/message/copy/.dirs/runtime 849s ok 2 /gdbus/message/copy 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_LWCRK2/gdbus/message/bytes-needed/.dirs/runtime 849s # Vector: 0 849s # Vector: 1 849s # Vector: 2 849s # Vector: 3 849s # Vector: 4 849s # Vector: 5 849s ok 3 /gdbus/message/bytes-needed 849s # End of message tests 849s # End of gdbus tests 849s ok - glib/gdbus-message.test 849s # Running test: glib/signal-handler.test 849s TAP version 13 849s # random seed: R02Sd00dc8663ff993bd69c108ec912fbbe1 849s 1..7 849s # Start of signal tests 849s # Start of handler tests 849s # min perf: connected 1 handlers in 0.000 seconds 849s ok 1 /signal/handler/connect-many 849s # min perf: disconnected 1 handlers in 0.000 seconds 849s ok 2 /signal/handler/disconnect-many-ordered 849s # min perf: disconnected 1 handlers in 0.000 seconds 849s ok 3 /signal/handler/disconnect-many-inverse 849s # min perf: disconnected 1 handlers in 0.000 seconds 849s ok 4 /signal/handler/disconnect-many-random 849s # min perf: disconnected 1 handlers in 0.000 seconds 849s ok 5 /signal/handler/disconnect-2-signals 849s # min perf: disconnected 1 handlers in 0.000 seconds 849s ok 6 /signal/handler/disconnect-2-objects 849s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 849s ok 7 /signal/handler/block-many 849s # End of handler tests 849s # End of signal tests 849s ok - glib/signal-handler.test 849s # Running test: glib/credentials.test 849s TAP version 13 849s # random seed: R02Se976aef8867268d57403e31d24f1f140 849s 1..1 849s # Start of credentials tests 849s # GCredentials:linux-ucred:pid=8160,uid=1000,gid=1000 849s # GCredentials:linux-ucred:pid=8160,uid=0,gid=1000 849s ok 1 /credentials/basic 849s # End of credentials tests 849s ok - glib/credentials.test 849s # Running test: glib/portal-support-snap.test 849s TAP version 13 849s # random seed: R02S57ea6563d5f60f561c019a72202538c2 849s 1..7 849s # Start of portal-support tests 849s # Start of snap tests 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/no-snapctl/.dirs/runtime 849s # Created snap.yaml in /tmp/test_portal-support-snap_9B0RK2/meta/snap.yaml 849s ok 1 /portal-support/snap/no-snapctl 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/runtime 849s # Created snap.yaml in /tmp/test_portal-support-snap_9B0RK2/meta/snap.yaml 849s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/none/.dirs/runtime/snapctl 849s ok 2 /portal-support/snap/none 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/runtime 849s # Created snap.yaml in /tmp/test_portal-support-snap_9B0RK2/meta/snap.yaml 849s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/all/.dirs/runtime/snapctl 849s ok 3 /portal-support/snap/all 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/runtime 849s # Created snap.yaml in /tmp/test_portal-support-snap_9B0RK2/meta/snap.yaml 849s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 849s ok 4 /portal-support/snap/desktop-only 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/runtime 849s # Created snap.yaml in /tmp/test_portal-support-snap_9B0RK2/meta/snap.yaml 849s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/network-only/.dirs/runtime/snapctl 849s ok 5 /portal-support/snap/network-only 849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/home 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/cache 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/system-config2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/config 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/system-data2 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/data 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/state 849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/runtime 849s # Created snap.yaml in /tmp/test_portal-support-snap_9B0RK2/meta/snap.yaml 849s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 850s ok 6 /portal-support/snap/gsettings-only 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap_9B0RK2/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s # Created snapctl in /tmp/test_portal-support-snap_9B0RK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 850s ok 7 /portal-support/snap/updates-dynamically 850s # End of snap tests 850s # End of portal-support tests 850s ok - glib/portal-support-snap.test 850s # Running test: glib/gdbus-peer.test 850s TAP version 13 850s # random seed: R02S77646e7ef04467eb3c02d6b2852b7829 850s 1..12 850s # Start of gdbus tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/.dirs/runtime 850s # Testing with unix:dir address 850s # Testing with unix:tmpdir address 850s # Testing with unix:path address 850s ok 1 /gdbus/peer-to-peer 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/delayed-message-processing/.dirs/runtime 850s # Testing with unix:dir address 850s ok 2 /gdbus/delayed-message-processing 850s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/nonce-tcp/.dirs/runtime 850s ok 3 /gdbus/nonce-tcp 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/tcp-anonymous/.dirs/runtime 850s ok 4 /gdbus/tcp-anonymous 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/credentials/.dirs/runtime 850s ok 5 /gdbus/credentials 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/codegen-peer-to-peer/.dirs/runtime 850s # Testing with unix:dir address 850s # Machine ID: 3c7b5be4ad1c499d8c431658d7d2c63b 851s ok 6 /gdbus/codegen-peer-to-peer 851s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 851s # Start of peer-to-peer tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/signals/.dirs/runtime 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 851s # Testing with unix:dir address 851s ok 7 /gdbus/peer-to-peer/signals 851s # Start of invalid tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 851s ok 8 /gdbus/peer-to-peer/invalid/server 851s # Start of conn tests 851s # Start of stream tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 851s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 853s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 853s # End of stream tests 853s # Start of addr tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 853s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2H4WK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 853s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 853s # End of addr tests 853s # End of conn tests 853s # End of invalid tests 853s # End of peer-to-peer tests 853s # End of gdbus tests 853s ok - glib/gdbus-peer.test 853s # Running test: glib/thread-pool.test 853s TAP version 13 853s # random seed: R02S7e3e904804512e6c576c4168cebcb5fe 853s 1..5 853s # Start of thread_pool tests 853s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 853s ok 1 /thread_pool/shared 853s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 853s ok 2 /thread_pool/exclusive 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 853s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 853s ok 3 /thread_pool/create_shared_after_exclusive 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 853s ok 4 /thread_pool/create_full 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 853s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 853s ok 5 /thread_pool/create_exclusive_after_shared 853s # End of thread_pool tests 853s ok - glib/thread-pool.test 853s # Running test: glib/markup-escape.test 853s TAP version 13 853s # random seed: R02S7d32591bdcbe1e4ec16cefc895109f94 853s 1..41 853s # Start of markup tests 853s ok 1 /markup/format 853s # Start of escape-text tests 853s ok 2 /markup/escape-text/0 853s ok 3 /markup/escape-text/1 853s ok 4 /markup/escape-text/2 853s ok 5 /markup/escape-text/3 853s ok 6 /markup/escape-text/4 853s ok 7 /markup/escape-text/5 853s ok 8 /markup/escape-text/6 853s ok 9 /markup/escape-text/7 853s ok 10 /markup/escape-text/8 853s ok 11 /markup/escape-text/9 853s ok 12 /markup/escape-text/10 853s ok 13 /markup/escape-text/11 853s ok 14 /markup/escape-text/12 853s ok 15 /markup/escape-text/13 853s ok 16 /markup/escape-text/14 853s ok 17 /markup/escape-text/15 853s ok 18 /markup/escape-text/16 853s ok 19 /markup/escape-text/17 853s ok 20 /markup/escape-text/18 853s ok 21 /markup/escape-text/19 853s ok 22 /markup/escape-text/20 853s ok 23 /markup/escape-text/21 853s ok 24 /markup/escape-text/22 853s # End of escape-text tests 853s # Start of escape-unichar tests 853s ok 25 /markup/escape-unichar/0 853s ok 26 /markup/escape-unichar/1 853s ok 27 /markup/escape-unichar/2 853s ok 28 /markup/escape-unichar/3 853s ok 29 /markup/escape-unichar/4 853s ok 30 /markup/escape-unichar/5 853s ok 31 /markup/escape-unichar/6 853s ok 32 /markup/escape-unichar/7 853s ok 33 /markup/escape-unichar/8 853s ok 34 /markup/escape-unichar/9 853s ok 35 /markup/escape-unichar/10 853s ok 36 /markup/escape-unichar/11 853s ok 37 /markup/escape-unichar/12 853s ok 38 /markup/escape-unichar/13 853s ok 39 /markup/escape-unichar/14 853s ok 40 /markup/escape-unichar/15 853s ok 41 /markup/escape-unichar/16 853s # End of escape-unichar tests 853s # End of markup tests 853s ok - glib/markup-escape.test 853s # Running test: glib/data-output-stream.test 853s TAP version 13 853s # random seed: R02S269e3866fcfb0253e6304975a28d3cd0 853s 1..7 853s # Start of data-output-stream tests 853s ok 1 /data-output-stream/basic 853s ok 2 /data-output-stream/write-lines-LF 853s ok 3 /data-output-stream/write-lines-CR 853s ok 4 /data-output-stream/write-lines-CR-LF 853s ok 5 /data-output-stream/write-int 853s ok 6 /data-output-stream/seek 853s ok 7 /data-output-stream/truncate 853s # End of data-output-stream tests 853s ok - glib/data-output-stream.test 853s # Running test: glib/resolver-parsing.test 853s TAP version 13 853s # random seed: R02Sbe1306b84919ee854b63d3bd61dfe36d 853s 1..20 853s # Start of gresolver tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/invalid-header/.dirs/runtime 853s ok 1 /gresolver/invalid-header 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/unknown-record-type/.dirs/runtime 853s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 853s ok 2 /gresolver/unknown-record-type 853s # Start of mx tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/valid/.dirs/runtime 853s ok 3 /gresolver/mx/valid 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/.dirs/runtime 853s ok 4 /gresolver/mx/invalid 853s # Start of invalid tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short/.dirs/runtime 853s ok 5 /gresolver/mx/invalid/too-short 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/mx/invalid/too-short2/.dirs/runtime 853s ok 6 /gresolver/mx/invalid/too-short2 853s # End of invalid tests 853s # End of mx tests 853s # Start of ns tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/valid/.dirs/runtime 853s ok 7 /gresolver/ns/valid 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/ns/invalid/.dirs/runtime 853s ok 8 /gresolver/ns/invalid 853s # End of ns tests 853s # Start of soa tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/valid/.dirs/runtime 853s ok 9 /gresolver/soa/valid 853s # Start of invalid tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/mname/.dirs/runtime 853s ok 10 /gresolver/soa/invalid/mname 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/rname/.dirs/runtime 853s ok 11 /gresolver/soa/invalid/rname 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/soa/invalid/too-short/.dirs/runtime 853s ok 12 /gresolver/soa/invalid/too-short 853s # End of invalid tests 853s # End of soa tests 853s # Start of srv tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/valid/.dirs/runtime 853s ok 13 /gresolver/srv/valid 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/.dirs/runtime 853s ok 14 /gresolver/srv/invalid 853s # Start of invalid tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short/.dirs/runtime 853s ok 15 /gresolver/srv/invalid/too-short 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/srv/invalid/too-short2/.dirs/runtime 853s ok 16 /gresolver/srv/invalid/too-short2 853s # End of invalid tests 853s # End of srv tests 853s # Start of txt tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/.dirs/runtime 853s ok 17 /gresolver/txt/valid 853s # Start of valid tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 853s ok 18 /gresolver/txt/valid/multiple-strings 853s # End of valid tests 853s # Start of invalid tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/empty/.dirs/runtime 853s ok 19 /gresolver/txt/invalid/empty 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_1K2SK2/gresolver/txt/invalid/overflow/.dirs/runtime 853s ok 20 /gresolver/txt/invalid/overflow 853s # End of invalid tests 853s # End of txt tests 853s # End of gresolver tests 853s ok - glib/resolver-parsing.test 853s # Running test: glib/memory-monitor-portal.test 853s TAP version 13 853s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 853s 1..1 853s ok - glib/memory-monitor-portal.test 853s # Running test: glib/unicode-normalize.test 853s TAP version 13 853s # random seed: R02Sf5446bd795eb8eae5e792f235ce80675 853s 1..3 853s # Start of unicode tests 853s # Processing Part0 # Specific cases 853s # Processing Part1 # Character by character test 853s # Processing Part2 # Canonical Order Test 853s # Processing Part3 # PRI #29 Test 853s ok 1 /unicode/normalize 853s # Invalid UTF-8 vector 0 853s # Invalid UTF-8 vector 1 853s # Invalid UTF-8 vector 2 853s # Invalid UTF-8 vector 3 853s # Invalid UTF-8 vector 4 853s # Invalid UTF-8 vector 5 853s # Invalid UTF-8 vector 6 853s # Invalid UTF-8 vector 7 853s # Invalid UTF-8 vector 8 853s # Invalid UTF-8 vector 9 853s # Invalid UTF-8 vector 10 853s # Invalid UTF-8 vector 11 853s # Invalid UTF-8 vector 12 853s ok 2 /unicode/normalize-invalid 853s # Start of normalize tests 853s ok 3 /unicode/normalize/bad-length 853s # End of normalize tests 853s # End of unicode tests 853s ok - glib/unicode-normalize.test 853s # Running test: glib/cxx.test 853s TAP version 13 853s # random seed: R02S27a7a6ef4ed6c5b95f6b5811e65481f6 853s 1..2 853s # Start of gtask tests 853s # Executing: glib/cxx.test 853s # 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. 853s ok 1 /gtask/name 853s # Start of name tests 853s # 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. 853s ok 2 /gtask/name/macro-wrapper 853s # End of name tests 853s # End of gtask tests 853s ok - glib/cxx.test 853s # Running test: glib/rec-mutex.test 853s TAP version 13 853s # random seed: R02S586e76bcc592e7c31be619ca163f2267 853s 1..29 853s # Start of thread tests 853s ok 1 /thread/rec-mutex1 853s ok 2 /thread/rec-mutex2 853s ok 3 /thread/rec-mutex3 853s ok 4 /thread/rec-mutex4 853s # Start of rec-mutex tests 853s # Start of perf tests 853s # Start of uncontended tests 853s # max perf: 0.500000 mips 853s ok 5 /thread/rec-mutex/perf/uncontended/depth1 853s # max perf: inf mips 853s ok 6 /thread/rec-mutex/perf/uncontended/depth2 853s # max perf: inf mips 853s ok 7 /thread/rec-mutex/perf/uncontended/depth3 853s # max perf: inf mips 853s ok 8 /thread/rec-mutex/perf/uncontended/depth4 853s # max perf: 1.000000 mips 853s ok 9 /thread/rec-mutex/perf/uncontended/depth5 853s # End of uncontended tests 853s # Start of contended1 tests 853s # max perf: inf mips 853s ok 10 /thread/rec-mutex/perf/contended1/depth1 853s # max perf: inf mips 853s ok 11 /thread/rec-mutex/perf/contended1/depth2 853s # max perf: inf mips 853s ok 12 /thread/rec-mutex/perf/contended1/depth3 853s # max perf: inf mips 853s ok 13 /thread/rec-mutex/perf/contended1/depth4 853s # max perf: inf mips 853s ok 14 /thread/rec-mutex/perf/contended1/depth5 853s # End of contended1 tests 853s # Start of contended2 tests 853s # max perf: inf mips 853s ok 15 /thread/rec-mutex/perf/contended2/depth1 853s # max perf: 3.000000 mips 853s ok 16 /thread/rec-mutex/perf/contended2/depth2 853s # max perf: 3.000000 mips 853s ok 17 /thread/rec-mutex/perf/contended2/depth3 853s # max perf: inf mips 853s ok 18 /thread/rec-mutex/perf/contended2/depth4 853s # max perf: 3.000000 mips 853s ok 19 /thread/rec-mutex/perf/contended2/depth5 853s # End of contended2 tests 853s # Start of contended3 tests 853s # max perf: 4.000000 mips 853s ok 20 /thread/rec-mutex/perf/contended3/depth1 853s # max perf: 2.000000 mips 853s ok 21 /thread/rec-mutex/perf/contended3/depth2 853s # max perf: 2.000000 mips 853s ok 22 /thread/rec-mutex/perf/contended3/depth3 853s # max perf: 2.000000 mips 853s ok 23 /thread/rec-mutex/perf/contended3/depth4 853s # max perf: 2.000000 mips 853s ok 24 /thread/rec-mutex/perf/contended3/depth5 853s # End of contended3 tests 853s # Start of contended4 tests 853s # max perf: 2.500000 mips 853s ok 25 /thread/rec-mutex/perf/contended4/depth1 853s # max perf: 5.000000 mips 853s ok 26 /thread/rec-mutex/perf/contended4/depth2 853s # max perf: 2.500000 mips 853s ok 27 /thread/rec-mutex/perf/contended4/depth3 853s # max perf: 2.500000 mips 853s ok 28 /thread/rec-mutex/perf/contended4/depth4 853s # max perf: 2.500000 mips 853s ok 29 /thread/rec-mutex/perf/contended4/depth5 853s # End of contended4 tests 853s # End of perf tests 853s # End of rec-mutex tests 853s # End of thread tests 853s ok - glib/rec-mutex.test 853s # Running test: glib/simple-proxy.test 853s TAP version 13 853s # random seed: R02Sab94ef31ccc51fb1b1d2008a4cc7971d 853s 1..3 853s # Start of static-proxy tests 853s ok 1 /static-proxy/uri 853s ok 2 /static-proxy/socks 853s ok 3 /static-proxy/ignore 853s # End of static-proxy tests 853s ok - glib/simple-proxy.test 853s # Running test: glib/sort.test 853s TAP version 13 853s # random seed: R02S7d37e33912f9213f15e198d4b1572263 853s 1..4 853s # Start of sort tests 853s ok 1 /sort/basic 853s ok 2 /sort/zero-elements 853s ok 3 /sort/stable 853s ok 4 /sort/big 853s # End of sort tests 853s ok - glib/sort.test 853s # Running test: glib/struct-info.test 853s TAP version 13 853s # random seed: R02S147b9bc713408147575c8cf68d7c53b6 853s 1..4 853s # Start of struct-info tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_8FCYK2/struct-info/field-iterators/.dirs/runtime 853s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 853s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 853s ok 1 /struct-info/field-iterators 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_8FCYK2/struct-info/sizeof-gvalue/.dirs/runtime 853s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 853s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 853s ok 2 /struct-info/sizeof-gvalue 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_8FCYK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 853s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 853s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 853s ok 3 /struct-info/is-pointer-for-struct-method-arg 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_8FCYK2/struct-info/boxed/.dirs/runtime 853s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 853s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 853s ok 4 /struct-info/boxed 853s # End of struct-info tests 853s ok - glib/struct-info.test 853s # Running test: glib/signals-refcount4.test 853s TAP version 13 853s # random seed: R02Sfe81cddef0342dec7a70e26f2492055b 853s 1..1 853s # Start of gobject tests 853s # Start of refcount tests 853s # init 0xb96cdd3a6430 853s # 853s # init 0xb96cdd3a65d0 853s # 858s # Executing: glib/signals-refcount4.test 858s # dispose 0xb96cdd3a6430! 858s # 858s # dispose 0xb96cdd3a65d0! 858s # 858s ok 1 /gobject/refcount/signals 858s # slow test /gobject/refcount/signals executed in 5.03 secs 858s # End of refcount tests 858s # End of gobject tests 858s ok - glib/signals-refcount4.test 858s # Running test: glib/gdbus-threading.test 858s TAP version 13 858s # random seed: R02Sdf15d9e9c9a16d23c84d745e81dc824a 858s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 858s ok - glib/gdbus-threading.test 858s # Running test: glib/atomic.test 858s TAP version 13 858s # random seed: R02S21cd2fe51263364f5217ea1ab38a5e58 858s 1..2 858s # Start of atomic tests 858s ok 1 /atomic/types 858s ok 2 /atomic/threaded 858s # End of atomic tests 858s ok - glib/atomic.test 858s # Running test: glib/threadtests.test 858s TAP version 13 858s # random seed: R02Sc493bdca9e465e3226efb6f4af43644d 858s 1..5 858s # Start of GObject tests 858s ok 1 /GObject/threaded-object-init 859s ok 2 /GObject/threaded-weak-ref 859s # slow test /GObject/threaded-weak-ref executed in 0.67 secs 859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 859s # /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 859s ok 3 /GObject/threaded-toggle-notify 859s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 859s # Start of threaded-weak-ref tests 859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 859s # /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. 859s ok 5 /GObject/threaded-weak-ref/on-finalization 859s # End of threaded-weak-ref tests 859s # End of GObject tests 859s ok - glib/threadtests.test 859s # Running test: glib/onceinit.test 859s TAP version 13 859s # random seed: R02Sa621be49412c1dd1497db67f4cfeaae9 859s 1..1 859s # Start of thread tests 859s ok 1 /thread/onceinit 859s # End of thread tests 859s ok - glib/onceinit.test 859s # Running test: glib/strfuncs.test 859s TAP version 13 859s # random seed: R02S21c874ccf42a78bad605adb83ab6f88a 859s 1..50 859s # Start of strfuncs tests 859s ok 1 /strfuncs/ascii-strcasecmp 859s ok 2 /strfuncs/ascii_strdown 859s ok 3 /strfuncs/ascii_strdup 859s ok 4 /strfuncs/ascii_strtod 859s ok 5 /strfuncs/bounds-check 859s ok 6 /strfuncs/has-prefix 859s ok 7 /strfuncs/has-prefix-macro 859s ok 8 /strfuncs/has-suffix 859s ok 9 /strfuncs/has-suffix-macro 859s ok 10 /strfuncs/memdup 859s ok 11 /strfuncs/memdup2 859s ok 12 /strfuncs/set_str 859s ok 13 /strfuncs/stpcpy 859s ok 14 /strfuncs/str_match_string 859s ok 15 /strfuncs/str_tokenize_and_fold 859s ok 16 /strfuncs/strcanon 859s ok 17 /strfuncs/strchomp 859s ok 18 /strfuncs/strchug 859s ok 19 /strfuncs/strcompress-strescape 859s ok 20 /strfuncs/strconcat 859s ok 21 /strfuncs/strdelimit 859s ok 22 /strfuncs/strdup 859s ok 23 /strfuncs/strdup-printf 859s ok 24 /strfuncs/strdupv 859s ok 25 /strfuncs/strerror 859s ok 26 /strfuncs/strip-context 859s ok 27 /strfuncs/strjoin 859s ok 28 /strfuncs/strjoinv 859s ok 29 /strfuncs/strlcat 859s ok 30 /strfuncs/strlcpy 859s ok 31 /strfuncs/strncasecmp 859s ok 32 /strfuncs/strndup 859s ok 33 /strfuncs/strnfill 859s ok 34 /strfuncs/strreverse 859s ok 35 /strfuncs/strsignal 859s ok 36 /strfuncs/strsplit 859s ok 37 /strfuncs/strsplit-set 859s ok 38 /strfuncs/strstr 859s ok 39 /strfuncs/strtod 859s ok 40 /strfuncs/strtoull-strtoll 859s ok 41 /strfuncs/strup 859s ok 42 /strfuncs/strv-contains 859s ok 43 /strfuncs/strv-equal 859s ok 44 /strfuncs/strv-length 859s ok 45 /strfuncs/test-is-to-digit 859s ok 46 /strfuncs/transliteration 859s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 859s ok 47 /strfuncs/str-equal 859s # Start of ascii-string-to-num tests 859s ok 48 /strfuncs/ascii-string-to-num/pathological 859s ok 49 /strfuncs/ascii-string-to-num/usual 859s # End of ascii-string-to-num tests 859s # Start of strdup tests 859s ok 50 /strfuncs/strdup/inline 859s # End of strdup tests 859s # End of strfuncs tests 859s ok - glib/strfuncs.test 859s # Running test: glib/gdbus-proxy.test 859s TAP version 13 859s # random seed: R02S8f999b4f4e845ccac47fec1a0db35329 859s 1..5 859s # Start of gdbus tests 859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/home 859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/cache 859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/system-config2 859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/config 859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/system-data2 859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/data 859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/state 859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/.dirs/runtime 859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s ok 1 /gdbus/proxy 861s # slow test /gdbus/proxy executed in 1.75 secs 861s # Start of proxy tests 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-properties/.dirs/runtime 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s ok 2 /gdbus/proxy/no-properties 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/wellknown-noauto/.dirs/runtime 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 861s ok 3 /gdbus/proxy/wellknown-noauto 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/async/.dirs/runtime 861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s # Executing: glib/gdbus-proxy.test 863s ok 4 /gdbus/proxy/async 863s # slow test /gdbus/proxy/async executed in 1.74 secs 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_FEI1K2/gdbus/proxy/no-match-rule/.dirs/runtime 863s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s ok 5 /gdbus/proxy/no-match-rule 864s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 864s # End of proxy tests 864s # End of gdbus tests 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 864s ok - glib/gdbus-proxy.test 864s cleaning up pid 13382 864s # Running test: glib/simple-async-result.test 864s TAP version 13 864s # random seed: R02Sfa889e1b78120d6bc11f57bc75bd5312 864s 1..2 864s # Start of gio tests 864s # Start of simple-async-result tests 864s ok 1 /gio/simple-async-result/test 864s # GLib-GIO-DEBUG: GTask 0xaebaea9ee6f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 864s ok 2 /gio/simple-async-result/valid 864s # End of simple-async-result tests 864s # End of gio tests 864s ok - glib/simple-async-result.test 864s # Running test: glib/markup-parse.test 864s TAP version 13 864s # random seed: R02Sa8f75f826e709a7dd8a79718bd279a28 864s 1..71 864s # Start of markup tests 864s # Start of parse tests 864s ok 1 /markup/parse/fail-29.gmarkup 864s ok 2 /markup/parse/fail-33.gmarkup 864s ok 3 /markup/parse/fail-23.gmarkup 864s ok 4 /markup/parse/valid-11.gmarkup 864s ok 5 /markup/parse/valid-14.gmarkup 864s ok 6 /markup/parse/valid-17.gmarkup 864s ok 7 /markup/parse/valid-7.gmarkup 864s ok 8 /markup/parse/fail-10.gmarkup 864s ok 9 /markup/parse/fail-53.gmarkup 864s ok 10 /markup/parse/fail-6.gmarkup 864s ok 11 /markup/parse/fail-8.gmarkup 864s ok 12 /markup/parse/fail-31.gmarkup 864s ok 13 /markup/parse/fail-16.gmarkup 864s ok 14 /markup/parse/valid-1.gmarkup 864s ok 15 /markup/parse/fail-44.gmarkup 864s ok 16 /markup/parse/fail-17.gmarkup 864s ok 17 /markup/parse/fail-13.gmarkup 864s ok 18 /markup/parse/valid-12.gmarkup 864s ok 19 /markup/parse/fail-4.gmarkup 864s ok 20 /markup/parse/valid-3.gmarkup 864s ok 21 /markup/parse/valid-13.gmarkup 864s ok 22 /markup/parse/fail-35.gmarkup 864s ok 23 /markup/parse/fail-36.gmarkup 864s ok 24 /markup/parse/fail-38.gmarkup 864s ok 25 /markup/parse/fail-24.gmarkup 864s ok 26 /markup/parse/fail-49.gmarkup 864s ok 27 /markup/parse/fail-18.gmarkup 864s ok 28 /markup/parse/fail-3.gmarkup 864s ok 29 /markup/parse/valid-6.gmarkup 864s ok 30 /markup/parse/fail-26.gmarkup 864s ok 31 /markup/parse/fail-41.gmarkup 864s ok 32 /markup/parse/fail-37.gmarkup 864s ok 33 /markup/parse/fail-5.gmarkup 864s ok 34 /markup/parse/fail-28.gmarkup 864s ok 35 /markup/parse/fail-34.gmarkup 864s ok 36 /markup/parse/fail-19.gmarkup 864s ok 37 /markup/parse/fail-50.gmarkup 864s ok 38 /markup/parse/fail-51.gmarkup 864s ok 39 /markup/parse/valid-9.gmarkup 864s ok 40 /markup/parse/fail-25.gmarkup 864s ok 41 /markup/parse/fail-21.gmarkup 864s ok 42 /markup/parse/fail-43.gmarkup 864s ok 43 /markup/parse/fail-46.gmarkup 864s ok 44 /markup/parse/fail-20.gmarkup 864s ok 45 /markup/parse/fail-22.gmarkup 864s ok 46 /markup/parse/valid-8.gmarkup 864s ok 47 /markup/parse/fail-2.gmarkup 864s ok 48 /markup/parse/fail-39.gmarkup 864s ok 49 /markup/parse/fail-14.gmarkup 864s ok 50 /markup/parse/fail-7.gmarkup 864s ok 51 /markup/parse/valid-15.gmarkup 864s ok 52 /markup/parse/fail-47.gmarkup 864s ok 53 /markup/parse/fail-52.gmarkup 864s ok 54 /markup/parse/valid-5.gmarkup 864s ok 55 /markup/parse/fail-40.gmarkup 864s ok 56 /markup/parse/fail-9.gmarkup 864s ok 57 /markup/parse/fail-42.gmarkup 864s ok 58 /markup/parse/fail-45.gmarkup 864s ok 59 /markup/parse/fail-27.gmarkup 864s ok 60 /markup/parse/valid-16.gmarkup 864s ok 61 /markup/parse/valid-2.gmarkup 864s ok 62 /markup/parse/fail-11.gmarkup 864s ok 63 /markup/parse/fail-12.gmarkup 864s ok 64 /markup/parse/fail-1.gmarkup 864s ok 65 /markup/parse/fail-48.gmarkup 864s ok 66 /markup/parse/valid-10.gmarkup 864s ok 67 /markup/parse/fail-15.gmarkup 864s ok 68 /markup/parse/fail-32.gmarkup 864s ok 69 /markup/parse/fail-30.gmarkup 864s ok 70 /markup/parse/valid-4.gmarkup 864s ok 71 /markup/parse/fail-54.gmarkup 864s # End of parse tests 864s # End of markup tests 864s ok - glib/markup-parse.test 864s # Running test: glib/mappedfile.test 864s TAP version 13 864s # random seed: R02Sca24e1ce7abedc44699830b1c915d74f 864s 1..7 864s # Start of mappedfile tests 864s ok 1 /mappedfile/basic 864s ok 2 /mappedfile/empty 864s ok 3 /mappedfile/device 864s ok 4 /mappedfile/nonexisting 864s ok 5 /mappedfile/writable 864s ok 6 /mappedfile/writable_fd 864s ok 7 /mappedfile/gbytes 864s # End of mappedfile tests 864s ok - glib/mappedfile.test 864s # Running test: glib/memory-settings-backend.test 864s TAP version 13 864s # random seed: R02S29e2e4d7986de4512d051c567af0655b 864s 1..1 864s # Start of memory-settings-backend tests 864s ok 1 /memory-settings-backend/extension-point-registered 864s # End of memory-settings-backend tests 864s ok - glib/memory-settings-backend.test 864s # Running test: glib/642026-ec.test 864s TAP version 13 864s # random seed: R02S1dc2517b098073ac98dcef8beeaff500 864s 1..1 864s # Start of glib tests 864s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 864s ok 1 /glib/642026 864s # End of glib tests 864s ok - glib/642026-ec.test 864s # Running test: glib/readwrite.test 864s TAP version 13 864s # random seed: R02S0f657b5088888fc4a6f90f3353ca0529 864s 1..3 864s # Start of readwrite tests 864s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 864s ok 1 /readwrite/test_g_file_open_readwrite 864s ok 2 /readwrite/test_g_file_create_readwrite 864s ok 3 /readwrite/test_g_file_replace_readwrite 864s # End of readwrite tests 864s ok - glib/readwrite.test 864s # Running test: glib/enums.test 864s TAP version 13 864s # random seed: R02Se0f9e9f83628df3306e2c64b4ad1e17a 864s 1..4 864s # Start of enum tests 864s ok 1 /enum/basic 864s ok 2 /enum/define-type 864s # End of enum tests 864s # Start of flags tests 864s ok 3 /flags/basic 864s ok 4 /flags/define-type 864s # End of flags tests 864s ok - glib/enums.test 864s # Running test: glib/spawn-multithreaded.test 864s TAP version 13 864s # random seed: R02S8cda1789d1f62e680a74754bb0eec161 864s 1..4 864s # Start of gthread tests 865s # Child 14425 (ttl 1) exited, status 0 866s # Child 14426 (ttl 2) exited, status 0 866s ok 1 /gthread/spawn-childs 866s # slow test /gthread/spawn-childs executed in 2.00 secs 866s # Created pid: 14430 (ttl 1) 866s # Created pid: 14431 (ttl 2) 867s # Executing: glib/spawn-multithreaded.test 867s # Child 14430 (ttl 1) exited, status 0 868s # Child 14431 (ttl 2) exited, status 0 868s ok 2 /gthread/spawn-childs-threads 868s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 868s ok 3 /gthread/spawn-sync 868s ok 4 /gthread/spawn-async 868s # End of gthread tests 868s ok - glib/spawn-multithreaded.test 869s # Running test: glib/keyfile.test 869s TAP version 13 869s # random seed: R02Sb5f69f1d2e1ce0d1a66a470157d37848 869s 1..36 869s # Start of keyfile tests 869s ok 1 /keyfile/line-ends 869s ok 2 /keyfile/whitespace 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 869s ok 3 /keyfile/comments 869s ok 4 /keyfile/listing 869s ok 5 /keyfile/string 869s ok 6 /keyfile/boolean 869s ok 7 /keyfile/number 869s ok 8 /keyfile/locale-string 869s ok 9 /keyfile/lists 869s ok 10 /keyfile/lists-set-get 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 869s ok 11 /keyfile/group-remove 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 869s ok 12 /keyfile/key-remove 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 869s ok 13 /keyfile/groups 869s ok 14 /keyfile/duplicate-keys 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 869s ok 15 /keyfile/duplicate-groups 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 869s ok 16 /keyfile/duplicate-groups2 869s ok 17 /keyfile/group-names 869s ok 18 /keyfile/key-names 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 869s ok 19 /keyfile/reload 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 869s ok 20 /keyfile/int64 869s ok 21 /keyfile/load 869s ok 22 /keyfile/save 869s ok 23 /keyfile/load-fail 869s ok 24 /keyfile/non-utf8 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 869s ok 25 /keyfile/page-boundary 869s ok 26 /keyfile/ref 869s ok 27 /keyfile/replace-value 869s ok 28 /keyfile/list-separator 869s ok 29 /keyfile/empty-string 869s ok 30 /keyfile/limbo 869s # Testing invalid encoding ?non-UTF-8? 869s # Testing invalid encoding ?UTF? 869s # Testing invalid encoding ?UTF-9? 869s ok 31 /keyfile/utf8 869s ok 32 /keyfile/roundtrip 869s ok 33 /keyfile/bytes 869s ok 34 /keyfile/get-locale 869s ok 35 /keyfile/free-when-not-last-ref 869s # Start of locale-string tests 869s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 869s ok 36 /keyfile/locale-string/multiple-loads 869s # End of locale-string tests 869s # End of keyfile tests 869s ok - glib/keyfile.test 869s # Running test: glib/mutex.test 869s TAP version 13 869s # random seed: R02S9d0e79cb4ff09d7e3865ade549cf96b5 869s 1..17 869s # Start of thread tests 869s ok 1 /thread/mutex1 869s ok 2 /thread/mutex2 869s ok 3 /thread/mutex3 869s ok 4 /thread/mutex4 872s ok 5 /thread/mutex5 872s # slow test /thread/mutex5 executed in 3.21 secs 872s # Start of mutex tests 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # /thread/mutex/errno summary: Validates that errno is not touched upon return 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 872s ok 6 /thread/mutex/errno 872s # Start of perf tests 872s # max perf: inf mips 872s ok 7 /thread/mutex/perf/uncontended 872s # Start of contended tests 872s # max perf: inf mips 872s ok 8 /thread/mutex/perf/contended/1 872s # max perf: inf mips 872s ok 9 /thread/mutex/perf/contended/2 872s # max perf: 2.000000 mips 872s ok 10 /thread/mutex/perf/contended/3 872s # max perf: inf mips 872s ok 11 /thread/mutex/perf/contended/4 872s # max perf: 6.000000 mips 872s ok 12 /thread/mutex/perf/contended/5 872s # max perf: 3.500000 mips 872s ok 13 /thread/mutex/perf/contended/6 872s # max perf: 4.000000 mips 872s ok 14 /thread/mutex/perf/contended/7 872s # max perf: 4.500000 mips 872s ok 15 /thread/mutex/perf/contended/8 872s # max perf: 3.333333 mips 872s ok 16 /thread/mutex/perf/contended/9 872s # max perf: 3.666667 mips 872s ok 17 /thread/mutex/perf/contended/10 872s # End of contended tests 872s # End of perf tests 872s # End of mutex tests 872s # End of thread tests 872s ok - glib/mutex.test 872s # Running test: glib/utils-c-17.test 872s TAP version 13 872s # random seed: R02Sca4ae5c76513419cd745fe0ca8bf228b 872s 1..40 872s # Start of utils tests 872s ok 1 /utils/language-names 872s ok 2 /utils/locale-variants 872s ok 3 /utils/version 872s ok 4 /utils/appname 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 872s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 872s ok 5 /utils/prgname-thread-safety 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 872s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 872s ok 6 /utils/tmpdir 872s ok 7 /utils/basic_bits 872s ok 8 /utils/bits 872s ok 9 /utils/swap 872s ok 10 /utils/find-program 872s ok 11 /utils/find-program-for-path 872s ok 12 /utils/debug 872s ok 13 /utils/codeset 872s ok 14 /utils/codeset2 872s ok 15 /utils/console-charset 872s ok 16 /utils/gettext 872s ok 17 /utils/username 872s ok 18 /utils/realname 872s ok 19 /utils/hostname 872s ok 20 /utils/xdgdirs 872s ok 21 /utils/specialdir 872s # NAME: Ubuntu 872s ok 22 /utils/os-info 872s ok 23 /utils/clear-pointer 872s ok 24 /utils/clear-pointer-cast 872s ok 25 /utils/take-pointer 872s ok 26 /utils/clear-source 872s ok 27 /utils/misc-mem 872s # /utils/aligned-mem summary: Aligned memory allocator 872s # Alignment must not be zero 872s # Alignment must be a power of two 872s # Alignment must be a multiple of sizeof(void*) 872s ok 28 /utils/aligned-mem 872s # /utils/free-sized summary: Check that g_free_sized() works 872s ok 29 /utils/free-sized 872s ok 30 /utils/nullify 872s ok 31 /utils/atexit 872s ok 32 /utils/check-setuid 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 872s ok 33 /utils/int-limits 872s ok 34 /utils/clear-list 872s ok 35 /utils/clear-slist 872s # Start of specialdir tests 872s ok 36 /utils/specialdir/desktop 872s # End of specialdir tests 872s # Start of clear-pointer tests 872s ok 37 /utils/clear-pointer/side-effects 872s # End of clear-pointer tests 872s # Start of aligned-mem tests 872s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 872s ok 38 /utils/aligned-mem/alignment 872s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 872s ok 39 /utils/aligned-mem/zeroed 872s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 872s ok 40 /utils/aligned-mem/free-sized 872s # Start of subprocess tests 872s # End of subprocess tests 872s # End of aligned-mem tests 872s # End of utils tests 872s ok - glib/utils-c-17.test 872s # Running test: glib/repository-search-paths.test 872s TAP version 13 872s # random seed: R02S54c6ab026ee95e9dd754ca3acea7ea29 872s 1..4 872s # Start of repository tests 872s # Start of search-paths tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/default/.dirs/runtime 872s ok 1 /repository/search-paths/default 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VDN0K2/repository/search-paths/prepend/.dirs/runtime 872s ok 2 /repository/search-paths/prepend 872s # End of search-paths tests 872s # Start of library-paths tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/default/.dirs/runtime 872s ok 3 /repository/library-paths/default 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VDN0K2/repository/library-paths/prepend/.dirs/runtime 872s ok 4 /repository/library-paths/prepend 872s # End of library-paths tests 872s # End of repository tests 872s ok - glib/repository-search-paths.test 872s # Running test: glib/win32-appinfo.test 872s TAP version 13 872s # random seed: R02Sbfad3fc96c88bb754463aa5cbaeb0256 872s 1..5 872s # Start of appinfo tests 872s ok 1 /appinfo/utf16-strfuncs 872s ok 2 /appinfo/win32-extract-executable 872s ok 3 /appinfo/win32-rundll32-fixup 872s ok 4 /appinfo/win32-parse-filename 872s ok 5 /appinfo/win32-utf16-conversion-fail 872s # Start of subprocess tests 872s # End of subprocess tests 872s # End of appinfo tests 872s ok - glib/win32-appinfo.test 872s # Running test: glib/portal-support-env-var.test 872s TAP version 13 872s # random seed: R02Sd4ece4ac7bd148dee5fc911a4c2deca1 872s 1..1 872s # Start of portal-support tests 872s ok 1 /portal-support/env-var 872s # End of portal-support tests 872s ok - glib/portal-support-env-var.test 872s # Running test: glib/macros-c-17.test 872s TAP version 13 872s # random seed: R02S185494600a7ed967387aa111a0afc0fd 872s 1..4 872s # Start of C tests 872s ok 1 /C/standard-17 872s # End of C tests 872s # Start of alignof tests 872s ok 2 /alignof/fallback 872s # End of alignof tests 872s # Start of assert tests 872s ok 3 /assert/static 872s # End of assert tests 872s # Start of struct tests 872s ok 4 /struct/sizeof_member 872s # End of struct tests 872s ok - glib/macros-c-17.test 872s # Running test: glib/dynamictests.test 872s TAP version 13 872s # random seed: R02Sa4e477b8b87cddc01d9e80deac864602 872s 1..2 872s # Start of GObject tests 872s ok 1 /GObject/threaded-dynamic-ref-unref-init 872s ok 2 /GObject/dynamic-interface-properties 872s # End of GObject tests 872s ok - glib/dynamictests.test 872s # Running test: glib/gdbus-exit-on-close.test 872s TAP version 13 872s # random seed: R02Sf101d7a4b936567e37c7e938c01eb039 872s 1..4 872s # Start of gdbus tests 872s # Start of exit-on-close tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/default/.dirs/runtime 872s ok 1 /gdbus/exit-on-close/default 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/true/.dirs/runtime 872s ok 2 /gdbus/exit-on-close/true 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/false/.dirs/runtime 872s # Executing: glib/gdbus-exit-on-close.test 872s ok 3 /gdbus/exit-on-close/false 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_8EZLK2/gdbus/exit-on-close/we-close/.dirs/runtime 873s ok 4 /gdbus/exit-on-close/we-close 873s # Start of default tests 873s # End of default tests 873s # Start of true tests 873s # End of true tests 873s # Start of false tests 873s # End of false tests 873s # Start of we-close tests 873s # End of we-close tests 873s # End of exit-on-close tests 873s # End of gdbus tests 873s ok - glib/gdbus-exit-on-close.test 873s # Running test: glib/portal-support-none.test 873s TAP version 13 873s # random seed: R02S3cf781327e8adc8dc2a9c81a7e6fe559 873s 1..1 873s # Start of portal-support tests 873s ok 1 /portal-support/none 873s # End of portal-support tests 873s ok - glib/portal-support-none.test 873s # Running test: glib/slice.test 873s TAP version 13 873s # random seed: R02S689d09a00acc5b6ee751e8d2b6b93722 873s 1..3 873s # Start of slice tests 873s ok 1 /slice/copy 873s ok 2 /slice/chain 873s ok 3 /slice/allocate 873s # End of slice tests 873s ok - glib/slice.test 873s # Running test: glib/power-profile-monitor.test 873s TAP version 13 873s # random seed: R02S96ac018cc4eb8254cc1252ca2bc87bfa 873s 1..1 873s # Start of power-profile-monitor tests 873s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 873s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 873s ok 1 /power-profile-monitor/default 873s # End of power-profile-monitor tests 873s ok - glib/power-profile-monitor.test 873s # Running test: glib/refcount.test 873s TAP version 13 873s # random seed: R02Sdc12576f55b2fe6f06a1ed98ddcd60a4 873s 1..4 873s # Start of refcount tests 873s ok 1 /refcount/grefcount 873s ok 2 /refcount/gatomicrefcount 873s # Start of grefcount tests 873s ok 3 /refcount/grefcount/saturation 873s # End of grefcount tests 873s # Start of gatomicrefcount tests 873s ok 4 /refcount/gatomicrefcount/saturation 873s # End of gatomicrefcount tests 873s # End of refcount tests 873s ok - glib/refcount.test 873s # Running test: glib/cxx-17.test 873s TAP version 13 873s # random seed: R02Sc1223d7e85247bf1d147f35a8d978789 873s 1..2 873s # Start of gtask tests 873s # 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. 873s ok 1 /gtask/name 873s # Start of name tests 873s # 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. 873s ok 2 /gtask/name/macro-wrapper 873s # End of name tests 873s # End of gtask tests 873s ok - glib/cxx-17.test 873s # Running test: glib/atomic-c-90.test 873s TAP version 13 873s # random seed: R02Sa96f1bcee0b9205b8525ba5425ba41f9 873s 1..2 873s # Start of atomic tests 873s ok 1 /atomic/types 873s ok 2 /atomic/threaded 873s # End of atomic tests 873s ok - glib/atomic-c-90.test 873s # Running test: glib/error.test 873s TAP version 13 873s # random seed: R02S1c34624f136690b33d110b0b73bbd8b1 873s 1..3 873s # Start of error tests 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_K7B0K2/error/from-errno/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_K7B0K2/error/from-errno/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_K7B0K2/error/from-errno/.dirs/system-config1:/tmp/test_error_K7B0K2/error/from-errno/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_K7B0K2/error/from-errno/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_K7B0K2/error/from-errno/.dirs/system-data1:/tmp/test_error_K7B0K2/error/from-errno/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_K7B0K2/error/from-errno/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_K7B0K2/error/from-errno/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_K7B0K2/error/from-errno/.dirs/runtime 873s ok 1 /error/from-errno 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/system-config1:/tmp/test_error_K7B0K2/error/from-file-error/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/system-data1:/tmp/test_error_K7B0K2/error/from-file-error/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_K7B0K2/error/from-file-error/.dirs/runtime 873s ok 2 /error/from-file-error 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_K7B0K2/error/from-win32-error/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_K7B0K2/error/from-win32-error/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_K7B0K2/error/from-win32-error/.dirs/runtime 873s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 873s # End of error tests 873s ok - glib/error.test 873s # Running test: glib/guuid.test 873s TAP version 13 873s # random seed: R02S07bb507c4bb2f2345431f07a1d6d4ca1 873s 1..2 873s # Start of uuid tests 873s ok 1 /uuid/string 873s ok 2 /uuid/random 873s # End of uuid tests 873s ok - glib/guuid.test 873s # Running test: glib/macros-c-90.test 873s TAP version 13 873s # random seed: R02S0ccc0cf0a31bf5738761d87847554461 873s 1..4 873s # Start of C tests 873s ok 1 /C/standard-90 873s # End of C tests 873s # Start of alignof tests 873s ok 2 /alignof/fallback 873s # End of alignof tests 873s # Start of assert tests 873s ok 3 /assert/static 873s # End of assert tests 873s # Start of struct tests 873s ok 4 /struct/sizeof_member 873s # End of struct tests 873s ok - glib/macros-c-90.test 873s # Running test: glib/notify-init.test 873s TAP version 13 873s # random seed: R02S9d5260148fd811a1aca58defb0b0bd46 873s 1..1 873s # Start of properties tests 873s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 873s ok 1 /properties/notify-in-init 873s # End of properties tests 873s ok - glib/notify-init.test 873s # Running test: glib/spawn-test.test 873s TAP version 13 873s # random seed: R02Sdfebc37d4a3a08af7dc70074b2d0421a 873s 1..2 873s # Start of spawn tests 873s ok 1 /spawn/basics 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 873s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 873s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 873s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 873s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 873s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 873s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 873s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 873s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 873s # Fetching GSpawn result output with stdin open, stdout open, stderr open 873s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 873s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 873s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 873s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 873s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 873s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 873s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 873s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 873s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 873s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 873s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 873s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 873s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 873s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 873s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 873s # Fetching GSpawn result with stdin open, stdout open, stderr open 873s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 873s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 873s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 873s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 873s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 873s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 873s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 873s ok 2 /spawn/stdio-overwrite 873s # End of spawn tests 873s ok - glib/spawn-test.test 873s # Running test: glib/relation.test 873s TAP version 13 873s # random seed: R02S7d4519542da6662eeca04a1081369dd8 873s 1..1 873s # Start of glib tests 873s ok 1 /glib/relation 873s # End of glib tests 873s ok - glib/relation.test 873s # Running test: glib/object-info.test 873s TAP version 13 873s # random seed: R02S2691f9ebaf5188003dea232c6b27d935 873s 1..2 873s # Start of object-info tests 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_WITJK2/object-info/find-method-using-interfaces/.dirs/runtime 873s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 873s ok 1 /object-info/find-method-using-interfaces 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_WITJK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 873s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 873s ok 2 /object-info/find-vfunc-using-interfaces 873s # End of object-info tests 873s ok - glib/object-info.test 873s # Running test: glib/gdbus-connection.test 873s TAP version 13 873s # random seed: R02Se23e78ae1c74ab2cf95e5eee150df902 873s 1..9 873s # Start of gdbus tests 873s # Start of connection tests 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/bus-failure/.dirs/runtime 873s ok 1 /gdbus/connection/bus-failure 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/basic/.dirs/runtime 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 2 /gdbus/connection/basic 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/life-cycle/.dirs/runtime 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 3 /gdbus/connection/life-cycle 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/send/.dirs/runtime 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 4 /gdbus/connection/send 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signals/.dirs/runtime 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 5 /gdbus/connection/signals 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/signal-match-rules/.dirs/runtime 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 6 /gdbus/connection/signal-match-rules 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/filter/.dirs/runtime 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 7 /gdbus/connection/filter 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/serials/.dirs/runtime 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 8 /gdbus/connection/serials 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_F8KKK2/gdbus/connection/cancel/.dirs/runtime 873s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 9 /gdbus/connection/cancel 873s # End of connection tests 873s # End of gdbus tests 873s ok - glib/gdbus-connection.test 873s # Running test: glib/utils-c-90.test 873s TAP version 13 873s # random seed: R02Sf78123fb8944a5ee89803ffe963b28c5 873s 1..40 873s # Start of utils tests 873s ok 1 /utils/language-names 873s ok 2 /utils/locale-variants 873s ok 3 /utils/version 873s ok 4 /utils/appname 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 873s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 873s ok 5 /utils/prgname-thread-safety 873s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 873s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 873s ok 6 /utils/tmpdir 873s ok 7 /utils/basic_bits 873s ok 8 /utils/bits 873s ok 9 /utils/swap 873s ok 10 /utils/find-program 873s ok 11 /utils/find-program-for-path 873s ok 12 /utils/debug 873s ok 13 /utils/codeset 873s ok 14 /utils/codeset2 873s ok 15 /utils/console-charset 873s ok 16 /utils/gettext 873s ok 17 /utils/username 873s ok 18 /utils/realname 873s ok 19 /utils/hostname 873s ok 20 /utils/xdgdirs 873s ok 21 /utils/specialdir 873s # NAME: Ubuntu 873s ok 22 /utils/os-info 873s ok 23 /utils/clear-pointer 873s ok 24 /utils/clear-pointer-cast 873s ok 25 /utils/take-pointer 873s ok 26 /utils/clear-source 873s ok 27 /utils/misc-mem 873s # /utils/aligned-mem summary: Aligned memory allocator 873s # Alignment must not be zero 873s # Alignment must be a power of two 873s # Alignment must be a multiple of sizeof(void*) 873s ok 28 /utils/aligned-mem 873s # /utils/free-sized summary: Check that g_free_sized() works 873s ok 29 /utils/free-sized 873s ok 30 /utils/nullify 873s ok 31 /utils/atexit 873s ok 32 /utils/check-setuid 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 873s ok 33 /utils/int-limits 873s ok 34 /utils/clear-list 873s ok 35 /utils/clear-slist 873s # Start of specialdir tests 873s ok 36 /utils/specialdir/desktop 873s # End of specialdir tests 873s # Start of clear-pointer tests 873s ok 37 /utils/clear-pointer/side-effects 873s # End of clear-pointer tests 873s # Start of aligned-mem tests 873s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 873s ok 38 /utils/aligned-mem/alignment 873s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 873s ok 39 /utils/aligned-mem/zeroed 873s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 873s ok 40 /utils/aligned-mem/free-sized 873s # Start of subprocess tests 873s # End of subprocess tests 873s # End of aligned-mem tests 873s # End of utils tests 873s ok - glib/utils-c-90.test 873s # Running test: glib/cxx-11.test 873s TAP version 13 873s # random seed: R02Sc74ac39b107c659559e0de4fb16650d7 873s 1..2 873s # Start of gtask tests 873s # 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. 873s ok 1 /gtask/name 873s # Start of name tests 873s # 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. 873s ok 2 /gtask/name/macro-wrapper 873s # End of name tests 873s # End of gtask tests 873s ok - glib/cxx-11.test 873s # Running test: glib/search-utils.test 873s TAP version 13 873s # random seed: R02S3765e15890f4cec9228bb995450b7b97 873s # GLib-DEBUG: Current user locale: C.UTF-8 873s 1..6 873s # Start of search tests 873s # GLib-DEBUG: Started 873s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 873s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 873s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 873s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 873s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 873s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 873s ok 1 /search/basic 873s # GLib-DEBUG: Started 873s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 873s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 873s # GLib-DEBUG: 'ele' - 'élève' should match: OK 873s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 873s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 873s ok 2 /search/composed 873s # GLib-DEBUG: Started 873s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 873s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 873s ok 3 /search/decomposed 873s # GLib-DEBUG: Started 873s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 873s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 873s ok 4 /search/turkish 873s # GLib-DEBUG: Started 873s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 873s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 873s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 873s ok 5 /search/c_locale_unicode 873s # GLib-DEBUG: Started 873s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 873s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 873s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 873s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 873s ok 6 /search/multi_words 873s # End of search tests 873s ok - glib/search-utils.test 873s # Running test: glib/markup-subparser.test 873s TAP version 13 873s # random seed: R02Sc1be30fa9696fd4ed0956b4fa4ddcc82 873s 1..14 873s # Start of glib tests 873s # Start of markup tests 873s # Start of subparser tests 873s # Start of success tests 873s ok 1 /glib/markup/subparser/success/0 873s ok 2 /glib/markup/subparser/success/1 873s ok 3 /glib/markup/subparser/success/2 873s ok 4 /glib/markup/subparser/success/3 873s ok 5 /glib/markup/subparser/success/4 873s ok 6 /glib/markup/subparser/success/5 873s ok 7 /glib/markup/subparser/success/6 873s # End of success tests 873s # Start of failure tests 873s ok 8 /glib/markup/subparser/failure/0 873s ok 9 /glib/markup/subparser/failure/1 873s ok 10 /glib/markup/subparser/failure/2 873s ok 11 /glib/markup/subparser/failure/3 873s ok 12 /glib/markup/subparser/failure/4 873s ok 13 /glib/markup/subparser/failure/5 873s ok 14 /glib/markup/subparser/failure/6 873s # End of failure tests 873s # End of subparser tests 873s # End of markup tests 873s # End of glib tests 873s ok - glib/markup-subparser.test 873s # Running test: glib/buffered-output-stream.test 873s TAP version 13 873s # random seed: R02S6e612bc75a2f50926766a49b04462eed 873s 1..5 873s # Start of buffered-output-stream tests 873s ok 1 /buffered-output-stream/write 873s ok 2 /buffered-output-stream/grow 873s ok 3 /buffered-output-stream/seek 873s ok 4 /buffered-output-stream/truncate 873s # End of buffered-output-stream tests 873s # Start of filter-output-stream tests 873s ok 5 /filter-output-stream/close 873s # End of filter-output-stream tests 873s ok - glib/buffered-output-stream.test 873s # Running test: glib/object.test 873s TAP version 13 873s # random seed: R02S14a8614b0ff029bdbaea5c517f27f8d5 873s 1..2 873s # Start of object tests 873s # Start of constructor tests 873s ok 1 /object/constructor/singleton 873s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 873s # End of constructor tests 873s # End of object tests 873s ok - glib/object.test 873s # Running test: glib/debugcontroller.test 873s TAP version 13 873s # random seed: R02S5bf2cb0eddd5a71fc5eb56ce6f70f7a0 873s 1..3 873s # Start of debug-controller tests 873s # Start of dbus tests 873s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-GIO-DEBUG: Debug output enabled 873s # GLib-GIO-DEBUG: Debug output disabled 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 1 /debug-controller/dbus/basic 873s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 873s ok 2 /debug-controller/dbus/duplicate 873s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 873s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 873s # End of dbus tests 873s # End of debug-controller tests 873s ok - glib/debugcontroller.test 873s # Running test: glib/hook.test 873s TAP version 13 873s # random seed: R02S59fd68a657ec72705d581a076aa60e9d 873s 1..2 873s # Start of hook tests 873s ok 1 /hook/basics 873s ok 2 /hook/corner-cases 873s # End of hook tests 873s ok - glib/hook.test 873s # Running test: glib/gio-tool.py.test 874s TAP version 13 874s ok 1 __main__.TestGioTool.test_help 874s # tmpdir: /tmp/tmpc1h2z8py 874s # gio: /usr/bin/gio 874s # Running: ['/usr/bin/gio', '--help'] 874s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 874s # Output: Usage: 874s # gio COMMAND [ARGS…] 874s # 874s # Commands: 874s # help Print help 874s # version Print version 874s # cat Concatenate files to standard output 874s # copy Copy one or more files 874s # info Show information about locations 874s # launch Launch an application from a desktop file 874s # list List the contents of locations 874s # mime Get or set the handler for a mimetype 874s # mkdir Create directories 874s # monitor Monitor files and directories for changes 874s # mount Mount or unmount the locations 874s # move Move one or more files 874s # open Open files with the default application 874s # rename Rename a file 874s # remove Delete one or more files 874s # save Read from standard input and save 874s # set Set a file attribute 874s # trash Move files or directories to the trash 874s # tree Lists the contents of locations in a tree 874s # 874s # Use “gio help COMMAND†to get detailed help. 874s # Running: ['/usr/bin/gio', 'help'] 874s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 874s # Output: Usage: 874s # gio COMMAND [ARGS…] 874s # 874s # Commands: 874s # help Print help 874s # version Print version 874s # cat Concatenate files to standard output 874s # copy Copy one or more files 874s # info Show information about locations 874s # launch Launch an application from a desktop file 874s # list List the contents of locations 874s # mime Get or set the handler for a mimetype 874s # mkdir Create directories 874s # monitor Monitor files and directories for changes 874s # mount Mount or unmount the locations 874s # move Move one or more files 874s # open Open files with the default application 874s # rename Rename a file 874s # remove Delete one or more files 874s # save Read from standard input and save 874s # set Set a file attribute 874s # trash Move files or directories to the trash 874s # tree Lists the contents of locations in a tree 874s # 874s # Use “gio help COMMAND†to get detailed help. 874s ok 2 __main__.TestGioTool.test_info_non_default_attributes 874s # tmpdir: /tmp/tmpvn7_yuk6 874s # gio: /usr/bin/gio 874s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpvn7_yuk6/tmpoou865ol'] 874s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 874s # Output: uri: file:///tmp/tmpvn7_yuk6/tmpoou865ol 874s # local path: /tmp/tmpvn7_yuk6/tmpoou865ol 874s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 874s # attributes: 874s # standard::content-type: application/x-zerosize 874s ok 3 __main__.TestGioTool.test_no_args 874s # tmpdir: /tmp/tmplf6__lp1 874s # gio: /usr/bin/gio 874s # Running: ['/usr/bin/gio'] 874s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 874s 1..3 874s ok - glib/gio-tool.py.test 874s # Running test: glib/io-channel.test 874s TAP version 13 874s # random seed: R02S0a9fa1d8d554093e2473611746cfc004 874s 1..2 874s # Start of io-channel tests 874s # Line one 874s # 874s # Line two 874s # 874s # Line three 874s # 874s # /* Hello */ 874s # 874s # \x1234\x567890\x6666 874s # 874s # read 62 bytes, wrote 62 bytes 874s ok 1 /io-channel/read-write 874s # Start of read-line tests 874s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 874s ok 2 /io-channel/read-line/embedded-nuls 874s # End of read-line tests 874s # End of io-channel tests 874s ok - glib/io-channel.test 874s # Running test: glib/hash.test 874s TAP version 13 874s # random seed: R02Sc56ae0af3819fb26cf59153073282bc8 874s 1..34 874s # Start of hash tests 874s ok 1 /hash/misc 874s ok 2 /hash/one 874s ok 3 /hash/honeyman 874s ok 4 /hash/direct 874s ok 5 /hash/direct2 874s ok 6 /hash/int 874s ok 7 /hash/int64 874s ok 8 /hash/double 874s ok 9 /hash/string 874s ok 10 /hash/set 874s ok 11 /hash/set-ref 874s ok 12 /hash/ref 874s ok 13 /hash/remove-all 874s ok 14 /hash/recursive-remove-all 874s ok 15 /hash/find 874s ok 16 /hash/foreach 874s ok 17 /hash/foreach-steal 874s ok 18 /hash/steal-extended 874s ok 19 /hash/steal-all-keys 874s ok 20 /hash/steal-all-values 874s ok 21 /hash/lookup-extended 874s ok 22 /hash/new-similar 874s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 874s ok 23 /hash/lookup-null-key 874s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 874s ok 24 /hash/destroy-modify 874s ok 25 /hash/consistency 874s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 874s ok 26 /hash/iter-replace 874s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 874s ok 27 /hash/set-insert-corruption 874s ok 28 /hash/set-to-strv 874s ok 29 /hash/get-keys-as-ptr-array 874s ok 30 /hash/get-values-as-ptr-array 874s ok 31 /hash/primes 874s # Start of int64 tests 874s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 874s ok 32 /hash/int64/collisions 874s # End of int64 tests 874s # Start of double tests 874s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 874s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 874s ok 33 /hash/double/collisions 874s # End of double tests 874s # Start of recursive-remove-all tests 874s # End of recursive-remove-all tests 874s # Start of steal-extended tests 874s ok 34 /hash/steal-extended/optional 874s # End of steal-extended tests 874s # End of hash tests 874s ok - glib/hash.test 874s # Running test: glib/signals-refcount3.test 874s TAP version 13 874s # random seed: R02Sf961c50b404ba3484680da848b0a60d3 874s 1..1 874s # Start of gobject tests 874s # Start of refcount tests 874s # init 0xca7964b30430 874s # 874s # init 0xca7964b305d0 874s # 877s # Executing: glib/signals-refcount3.test 879s # dispose 0xca7964b30430! 879s # 879s # dispose 0xca7964b305d0! 879s # 879s ok 1 /gobject/refcount/signals 879s # slow test /gobject/refcount/signals executed in 5.00 secs 879s # End of refcount tests 879s # End of gobject tests 879s ok - glib/signals-refcount3.test 879s # Running test: glib/gdbus-bz627724.test 879s TAP version 13 879s # random seed: R02Scacd56c029fab15d2f20da2d9445d7a3 879s 1..1 879s # Start of gdbus tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_7OSVK2/gdbus/bz627724/.dirs/runtime 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 879s ok 1 /gdbus/bz627724 879s # End of gdbus tests 879s ok - glib/gdbus-bz627724.test 879s # Running test: glib/gdatetime.test 879s TAP version 13 879s # random seed: R02S01ada96f075a372472940c8177badbfa 879s 1..68 879s # Start of GDateTime tests 879s # Bug Reference: http://bugzilla.gnome.org/702674 879s ok 1 /GDateTime/invalid 879s ok 2 /GDateTime/add_days 879s ok 3 /GDateTime/add_full 879s ok 4 /GDateTime/add_hours 879s ok 5 /GDateTime/add_minutes 879s ok 6 /GDateTime/add_months 879s ok 7 /GDateTime/add_seconds 879s ok 8 /GDateTime/add_weeks 879s ok 9 /GDateTime/add_years 879s ok 10 /GDateTime/compare 879s ok 11 /GDateTime/diff 879s ok 12 /GDateTime/equal 879s ok 13 /GDateTime/get_day_of_week 879s ok 14 /GDateTime/get_day_of_month 879s ok 15 /GDateTime/get_day_of_year 879s ok 16 /GDateTime/get_hour 879s ok 17 /GDateTime/get_microsecond 879s ok 18 /GDateTime/get_minute 879s ok 19 /GDateTime/get_month 879s ok 20 /GDateTime/get_second 879s ok 21 /GDateTime/get_utc_offset 879s ok 22 /GDateTime/get_year 879s ok 23 /GDateTime/hash 879s ok 24 /GDateTime/new_from_unix 879s ok 25 /GDateTime/new_from_unix_utc 879s ok 26 /GDateTime/new_from_timeval 879s ok 27 /GDateTime/new_from_timeval_utc 879s ok 28 /GDateTime/new_from_iso8601 879s ok 29 /GDateTime/new_full 879s ok 30 /GDateTime/now 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 879s ok 31 /GDateTime/test-6-days-until-end-of-the-month 879s # %a -> expected: Sat 879s # %a -> actual: Sat 879s # %A -> expected: Saturday 879s # %A -> actual: Saturday 879s # %b -> expected: Oct 879s # %b -> actual: Oct 879s # %B -> expected: October 879s # %B -> actual: October 879s # %d -> expected: 24 879s # %d -> actual: 24 879s # %d -> expected: 01 879s # %d -> actual: 01 879s # %e -> expected: 24 879s # %e -> actual: 24 879s # %e -> expected:  1 879s # %e -> actual:  1 879s # %f -> expected: 001000 879s # %f -> actual: 001000 879s # %h -> expected: Oct 879s # %h -> actual: Oct 879s # %H -> expected: 00 879s # %H -> actual: 00 879s # %H -> expected: 15 879s # %H -> actual: 15 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 03 879s # %I -> actual: 03 879s # %j -> expected: 297 879s # %j -> actual: 297 879s # %k -> expected:  0 879s # %k -> actual:  0 879s # %k -> expected: 13 879s # %k -> actual: 13 879s # %l -> expected: 12 879s # %l -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %l -> expected:  1 879s # %l -> actual:  1 879s # %l -> expected: 10 879s # %l -> actual: 10 879s # %m -> expected: 10 879s # %m -> actual: 10 879s # %M -> expected: 00 879s # %M -> actual: 00 879s # %p -> expected: AM 879s # %p -> actual: AM 879s # %p -> expected: PM 879s # %p -> actual: PM 879s # %P -> expected: am 879s # %P -> actual: am 879s # %P -> expected: pm 879s # %P -> actual: pm 879s # %r -> expected: 12:00:00 AM 879s # %r -> actual: 12:00:00 AM 879s # %r -> expected: 01:13:13 PM 879s # %r -> actual: 01:13:13 PM 879s # %R -> expected: 00:00 879s # %R -> actual: 00:00 879s # %R -> expected: 13:13 879s # %R -> actual: 13:13 879s # %S -> expected: 00 879s # %S -> actual: 00 879s # %t -> expected: 879s # %t -> actual: 879s # %u -> expected: 6 879s # %u -> actual: 6 879s # %x -> expected: 10/24/09 879s # %x -> actual: 10/24/09 879s # %X -> expected: 00:00:00 879s # %X -> actual: 00:00:00 879s # %X -> expected: 13:14:15 879s # %X -> actual: 13:14:15 879s # %y -> expected: 09 879s # %y -> actual: 09 879s # %Y -> expected: 2009 879s # %Y -> actual: 2009 879s # %% -> expected: % 879s # %% -> actual: % 879s # % -> expected: 879s # % -> actual: 879s # %9 -> expected: (null) 879s # %9 -> actual: (null) 879s # %Z -> expected: UTC 879s # %Z -> actual: UTC 879s ok 32 /GDateTime/printf 879s # %a -> expected: ÅÚ 879s # %a -> actual: ÅÚ 879s # %A -> expected: ÅÚÍËÆü 879s # %A -> actual: ÅÚÍËÆü 879s # %b -> expected: 10·î 879s # %b -> actual: 10·î 879s # %B -> expected: 10·î 879s # %B -> actual: 10·î 879s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 879s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 879s # %C -> expected: 20 879s # %C -> actual: 20 879s # %d -> expected: 24 879s # %d -> actual: 24 879s # %d -> expected: 01 879s # %d -> actual: 01 879s # %e -> expected: 24 879s # %e -> actual: 24 879s # %h -> expected: 10·î 879s # %h -> actual: 10·î 879s # %H -> expected: 00 879s # %H -> actual: 00 879s # %H -> expected: 15 879s # %H -> actual: 15 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %I -> expected: 03 879s # %I -> actual: 03 879s # %j -> expected: 297 879s # %j -> actual: 297 879s # %k -> expected: ?0 879s # %k -> actual: ?0 879s # %k -> expected: 13 879s # %k -> actual: 13 879s # %l -> expected: 12 879s # %l -> actual: 12 879s # %I -> expected: 12 879s # %I -> actual: 12 879s # %l -> expected: ?1 879s # %l -> actual: ?1 879s # %l -> expected: 10 879s # %l -> actual: 10 879s # %m -> expected: 10 879s # %m -> actual: 10 879s # %M -> expected: 00 879s # %M -> actual: 00 879s # %p -> expected: ¸áÁ° 879s # %p -> actual: ¸áÁ° 879s # %p -> expected: ¸á¸å 879s # %p -> actual: ¸á¸å 879s # %P -> expected: ¸áÁ° 879s # %P -> actual: ¸áÁ° 879s # %P -> expected: ¸á¸å 879s # %P -> actual: ¸á¸å 879s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 879s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 879s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 879s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 879s # %R -> expected: 00:00 879s # %R -> actual: 00:00 879s # %R -> expected: 13:13 879s # %R -> actual: 13:13 879s # %S -> expected: 00 879s # %S -> actual: 00 879s # %t -> expected: 879s # %t -> actual: 879s # %u -> expected: 6 879s # %u -> actual: 6 879s # %x -> expected: 2009ǯ10·î24Æü 879s # %x -> actual: 2009ǯ10·î24Æü 879s # %X -> expected: 00»þ00ʬ00Éà 879s # %X -> actual: 00»þ00ʬ00Éà 879s # %X -> expected: 13»þ14ʬ15Éà 879s # %X -> actual: 13»þ14ʬ15Éà 879s # %y -> expected: 09 879s # %y -> actual: 09 879s # %Y -> expected: 2009 879s # %Y -> actual: 2009 879s # %% -> expected: % 879s # %% -> actual: % 879s # % -> expected: 879s # % -> actual: 879s # %9 -> expected: (null) 879s # %9 -> actual: (null) 879s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 879s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 879s # %EC -> expected: Ê¿À® 879s # %EC -> actual: Ê¿À® 879s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 879s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 879s # %EX -> expected: 00»þ00ʬ00Éà 879s # %EX -> actual: 00»þ00ʬ00Éà 879s # %Ey -> expected: 21 879s # %Ey -> actual: 21 879s # %EY -> expected: Ê¿À®21ǯ 879s # %EY -> actual: Ê¿À®21ǯ 879s ok 33 /GDateTime/non_utf8_printf 879s # ???? -> expected: ???? 879s # ???? -> actual: ???? 879s # %H?%M -> expected: 23?15 879s # %H?%M -> actual: 23?15 879s # %H?%M -> expected: 23?15 879s # %H?%M -> actual: 23?15 879s ok 34 /GDateTime/format_unrepresentable 879s ok 35 /GDateTime/format_iso8601 879s ok 36 /GDateTime/strftime 879s # %d -> expected: 01 879s # %d -> actual: 01 879s # %_d -> expected: 1 879s # %_d -> actual: 1 879s # %-d -> expected: 1 879s # %-d -> actual: 1 879s # %0d -> expected: 01 879s # %0d -> actual: 01 879s # %d -> expected: 21 879s # %d -> actual: 21 879s # %_d -> expected: 21 879s # %_d -> actual: 21 879s # %-d -> expected: 21 879s # %-d -> actual: 21 879s # %0d -> expected: 21 879s # %0d -> actual: 21 879s # %e -> expected:  1 879s # %e -> actual:  1 879s # %_e -> expected: 1 879s # %_e -> actual: 1 879s # %-e -> expected: 1 879s # %-e -> actual: 1 879s # %0e -> expected: 01 879s # %0e -> actual: 01 879s # %e -> expected: 21 879s # %e -> actual: 21 879s # %_e -> expected: 21 879s # %_e -> actual: 21 879s # %-e -> expected: 21 879s # %-e -> actual: 21 879s # %0e -> expected: 21 879s # %0e -> actual: 21 879s # %a -> expected: Thu 879s # %a -> actual: Thu 879s # %^a -> expected: THU 879s # %^a -> actual: THU 879s # %#a -> expected: THU 879s # %#a -> actual: THU 879s # %A -> expected: Thursday 879s # %A -> actual: Thursday 879s # %^A -> expected: THURSDAY 879s # %^A -> actual: THURSDAY 879s # %#A -> expected: THURSDAY 879s # %#A -> actual: THURSDAY 879s # %b -> expected: Jan 879s # %b -> actual: Jan 879s # %^b -> expected: JAN 879s # %^b -> actual: JAN 879s # %#b -> expected: JAN 879s # %#b -> actual: JAN 879s # %B -> expected: January 879s # %B -> actual: January 879s # %^B -> expected: JANUARY 879s # %^B -> actual: JANUARY 879s # %#B -> expected: JANUARY 879s # %#B -> actual: JANUARY 879s # %h -> expected: Jan 879s # %h -> actual: Jan 879s # %^h -> expected: JAN 879s # %^h -> actual: JAN 879s # %#h -> expected: JAN 879s # %#h -> actual: JAN 879s # %Z -> expected: UTC 879s # %Z -> actual: UTC 879s # %^Z -> expected: UTC 879s # %^Z -> actual: UTC 879s # %#Z -> expected: utc 879s # %#Z -> actual: utc 879s # %H -> expected: 01 879s # %H -> actual: 01 879s # %_H -> expected: 1 879s # %_H -> actual: 1 879s # %-H -> expected: 1 879s # %-H -> actual: 1 879s # %0H -> expected: 01 879s # %0H -> actual: 01 879s # %H -> expected: 21 879s # %H -> actual: 21 879s # %_H -> expected: 21 879s # %_H -> actual: 21 879s # %-H -> expected: 21 879s # %-H -> actual: 21 879s # %0H -> expected: 21 879s # %0H -> actual: 21 879s # %I -> expected: 01 879s # %I -> actual: 01 879s # %_I -> expected: 1 879s # %_I -> actual: 1 879s # %-I -> expected: 1 879s # %-I -> actual: 1 879s # %0I -> expected: 01 879s # %0I -> actual: 01 879s # %I -> expected: 11 879s # %I -> actual: 11 879s # %_I -> expected: 11 879s # %_I -> actual: 11 879s # %-I -> expected: 11 879s # %-I -> actual: 11 879s # %0I -> expected: 11 879s # %0I -> actual: 11 879s # %k -> expected:  1 879s # %k -> actual:  1 879s # %_k -> expected: 1 879s # %_k -> actual: 1 879s # %-k -> expected: 1 879s # %-k -> actual: 1 879s # %0k -> expected: 01 879s # %0k -> actual: 01 879s # %l -> expected:  1 879s # %l -> actual:  1 879s # %_l -> expected: 1 879s # %_l -> actual: 1 879s # %-l -> expected: 1 879s # %-l -> actual: 1 879s # %0l -> expected: 01 879s # %0l -> actual: 01 879s # %l -> expected: 11 879s # %l -> actual: 11 879s # %_l -> expected: 11 879s # %_l -> actual: 11 879s # %-l -> expected: 11 879s # %-l -> actual: 11 879s # %0l -> expected: 11 879s # %0l -> actual: 11 879s # %p -> expected: AM 879s # %p -> actual: AM 879s # %^p -> expected: AM 879s # %^p -> actual: AM 879s # %#p -> expected: am 879s # %#p -> actual: am 879s # %P -> expected: am 879s # %P -> actual: am 879s # %^P -> expected: AM 879s # %^P -> actual: AM 879s # %#P -> expected: am 879s # %#P -> actual: am 879s # %OH -> expected: Û²Û³ 879s # %OH -> actual: Û²Û³ 879s # %OI -> expected: Û±Û± 879s # %OI -> actual: Û±Û± 879s # %OM -> expected: Û°Û° 879s # %OM -> actual: Û°Û° 879s # %Om -> expected: Û°Û· 879s # %Om -> actual: Û°Û· 879s # %0Om -> expected: Û°Û· 879s # %0Om -> actual: Û°Û· 879s # %-Om -> expected: Û· 879s # %-Om -> actual: Û· 879s # %_Om -> expected: Û· 879s # %_Om -> actual: Û· 879s # %c -> expected: thu 01 jan 2009 00:00:00 utc 879s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 879s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 879s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 879s # %C -> expected: 20 879s # %C -> actual: 20 879s # %EC -> expected: 20 879s # %EC -> actual: 20 879s # %x -> expected: 02/01/09 879s # %x -> actual: 02/01/09 879s # %Ex -> expected: 02/01/09 879s # %Ex -> actual: 02/01/09 879s # %X -> expected: 01:02:03 879s # %X -> actual: 01:02:03 879s # %EX -> expected: 01:02:03 879s # %EX -> actual: 01:02:03 879s # %y -> expected: 09 879s # %y -> actual: 09 879s # %Ey -> expected: 09 879s # %Ey -> actual: 09 879s # %Y -> expected: 2009 879s # %Y -> actual: 2009 879s # %EY -> expected: 2009 879s # %EY -> actual: 2009 879s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 879s # Bug Reference: http://bugzilla.gnome.org/749206 879s # %B -> expected: January 879s # %B -> actual: January 879s # %OB -> expected: February 879s # %OB -> actual: February 879s # %b -> expected: Mar 879s # %b -> actual: Mar 879s # %Ob -> expected: Apr 879s # %Ob -> actual: Apr 879s # %h -> expected: May 879s # %h -> actual: May 879s # %Oh -> expected: Jun 879s # %Oh -> actual: Jun 879s # %B -> expected: Juli 879s # %B -> actual: Juli 879s # %OB -> expected: August 879s # %OB -> actual: August 879s # %b -> expected: Sep 879s # %b -> actual: Sep 879s # %Ob -> expected: Okt 879s # %Ob -> actual: Okt 879s # %h -> expected: Nov 879s # %h -> actual: Nov 879s # %Oh -> expected: Dez 879s # %Oh -> actual: Dez 879s # %B -> expected: enero 879s # %B -> actual: enero 879s # %OB -> expected: febrero 879s # %OB -> actual: febrero 879s # %b -> expected: mar 879s # %b -> actual: mar 879s # %Ob -> expected: abr 879s # %Ob -> actual: abr 879s # %h -> expected: may 879s # %h -> actual: may 879s # %Oh -> expected: jun 879s # %Oh -> actual: jun 879s # %B -> expected: juillet 879s # %B -> actual: juillet 879s # %OB -> expected: août 879s # %OB -> actual: août 879s # %b -> expected: sept. 879s # %b -> actual: sept. 879s # %Ob -> expected: oct. 879s # %Ob -> actual: oct. 879s # %h -> expected: nov. 879s # %h -> actual: nov. 879s # %Oh -> expected: déc. 879s # %Oh -> actual: déc. 879s # %B -> expected: ΙανουαÏίου 879s # %B -> actual: ΙανουαÏίου 879s # %B -> expected: ΦεβÏουαÏίου 879s # %B -> actual: ΦεβÏουαÏίου 879s # %B -> expected: ΜαÏτίου 879s # %B -> actual: ΜαÏτίου 879s # %OB -> expected: ΑπÏίλιος 879s # %OB -> actual: ΑπÏίλιος 879s # %OB -> expected: Μάιος 879s # %OB -> actual: Μάιος 879s # %OB -> expected: ΙοÏνιος 879s # %OB -> actual: ΙοÏνιος 879s # %b -> expected: Ιουλ 879s # %b -> actual: Ιουλ 879s # %Ob -> expected: ΑÏγ 879s # %Ob -> actual: ΑÏγ 879s # %B -> expected: svibnja 879s # %B -> actual: svibnja 879s # %B -> expected: lipnja 879s # %B -> actual: lipnja 879s # %B -> expected: srpnja 879s # %B -> actual: srpnja 879s # %OB -> expected: Kolovoz 879s # %OB -> actual: kolovoz 879s # %OB -> expected: Rujan 879s # %OB -> actual: rujan 879s # %OB -> expected: Listopad 879s # %OB -> actual: listopad 879s # %b -> expected: Stu 879s # %b -> actual: stu 879s # %Ob -> expected: Pro 879s # %Ob -> actual: pro 879s # %B -> expected: sausio 879s # %B -> actual: sausio 879s # %B -> expected: vasario 879s # %B -> actual: vasario 879s # %B -> expected: kovo 879s # %B -> actual: kovo 879s # %OB -> expected: balandis 879s # %OB -> actual: balandis 879s # %OB -> expected: gegužė 879s # %OB -> actual: gegužė 879s # %OB -> expected: birželis 879s # %OB -> actual: birželis 879s # %b -> expected: liep. 879s # %b -> actual: liep. 879s # %Ob -> expected: rugp. 879s # %Ob -> actual: rugp. 879s # %B -> expected: maja 879s # %B -> actual: maja 879s # %B -> expected: czerwca 879s # %B -> actual: czerwca 879s # %B -> expected: lipca 879s # %B -> actual: lipca 879s # %OB -> expected: sierpieÅ„ 879s # %OB -> actual: sierpieÅ„ 879s # %OB -> expected: wrzesieÅ„ 879s # %OB -> actual: wrzesieÅ„ 879s # %OB -> expected: październik 879s # %OB -> actual: październik 879s # %b -> expected: lis 879s # %b -> actual: lis 879s # %Ob -> expected: gru 879s # %Ob -> actual: gru 879s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 879s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 879s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 879s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 879s # %B -> expected: марта 879s # %B -> actual: марта 879s # %OB -> expected: Ðпрель 879s # %OB -> actual: Ðпрель 879s # %OB -> expected: Май 879s # %OB -> actual: Май 879s # %OB -> expected: Июнь 879s # %OB -> actual: Июнь 879s # %b -> expected: июл 879s # %b -> actual: июл 879s # %Ob -> expected: авг 879s # %Ob -> actual: авг 879s # %b -> expected: Ð¼Ð°Ñ 879s # %b -> actual: Ð¼Ð°Ñ 879s # %Ob -> expected: май 879s # %Ob -> actual: май 879s ok 38 /GDateTime/month_names 879s ok 39 /GDateTime/to_local 879s ok 40 /GDateTime/to_unix 879s ok 41 /GDateTime/to_timeval 879s ok 42 /GDateTime/to_utc 879s ok 43 /GDateTime/now_utc 879s ok 44 /GDateTime/dst 879s # Bug Reference: http://bugzilla.gnome.org/642935 879s ok 45 /GDateTime/test_z 880s ok 46 /GDateTime/test-all-dates 880s # slow test /GDateTime/test-all-dates executed in 0.95 secs 880s ok 47 /GDateTime/unix_usec 880s # Start of new_from_unix tests 880s # Bug Reference: http://bugzilla.gnome.org/782089 880s ok 48 /GDateTime/new_from_unix/overflow 880s # End of new_from_unix tests 880s # Start of new_from_timeval tests 880s # Bug Reference: http://bugzilla.gnome.org/782089 880s # Maximum supported GTimeVal.tv_sec = 253402300799 880s ok 49 /GDateTime/new_from_timeval/overflow 880s # End of new_from_timeval tests 880s # Start of new_from_iso8601 tests 880s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 880s # Vector 0: 1990-11-01T10:21:17Z 880s # Vector 1: 19901101T102117Z 880s # Vector 2: 1970-01-01T00:00:17.12Z 880s # Vector 3: 1970-01-01T00:00:17.1234Z 880s # Vector 4: 1970-01-01T00:00:17.123456Z 880s # Vector 5: 1980-02-22T12:36:00+02:00 880s # Vector 6: 1990-12-31T15:59:60-08:00 880s # Vector 7: 880s # Vector 8: x 880s # Vector 9: 123x 880s # Vector 10: 2001-10+x 880s # Vector 11: 1980-02-22T 880s # Vector 12: 2001-10-08Tx 880s # Vector 13: 2001-10-08T10:11x 880s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 880s # Vector 15: 1980-02-22T10:36:00Zulu 880s # Vector 16: 2T0+819855292164632335 880s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 880s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 880s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 880s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 880s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 880s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 880s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 880s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 880s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 880s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 880s # Vector 27: 20180803T140805.446178377+0100 880s # Vector 28: 21474836480803T140805.446178377+0100 880s # Vector 29: 20181303T140805.446178377+0100 880s # Vector 30: 20180003T140805.446178377+0100 880s # Vector 31: 20180800T140805.446178377+0100 880s # Vector 32: 20180832T140805.446178377+0100 880s # Vector 33: 20180803T240805.446178377+0100 880s # Vector 34: 20180803T146005.446178377+0100 880s # Vector 35: 20180803T140863.446178377+0100 880s # Vector 36: 20180803T140805.446178377+10000 880s # Vector 37: -0005-01-01T00:00:00Z 880s # Vector 38: 2018-08-06 880s # Vector 39: 20180803T140805,446178377+0100 880s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 880s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 880s # Vector 42: 1990-11-01T10:21:17 880s # Vector 43: 1719W462 407777-07 880s # Vector 44: 4011090 260528Z 880s # Vector 45: 0000W011 228214-22 880s ok 50 /GDateTime/new_from_iso8601/2 880s # End of new_from_iso8601 tests 880s # Start of format_mixed tests 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 880s # %b -> expected: mar 880s # %b -> actual: Mar 880s # %B -> expected: march 880s # %B -> actual: March 880s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 880s # %b -> expected: mar 880s # %b -> actual: Mar 880s # %B -> expected: march 880s # %B -> actual: March 880s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 880s # %b -> expected: Mär 880s # %b -> actual: Mär 880s # %B -> expected: März 880s # %B -> actual: März 880s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 880s # %b -> expected: Mär 880s # %b -> actual: Mär 880s # %B -> expected: März 880s # %B -> actual: März 880s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 880s # End of format_mixed tests 880s # Start of strftime tests 880s # %r -> expected: (null) 880s # %r -> actual: (null) 880s ok 55 /GDateTime/strftime/error_handling 880s # End of strftime tests 880s # Start of eras tests 880s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 880s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 880s # %EC -> expected: 令和 880s # %EC -> actual: 令和 880s # %Ex -> expected: 令和05å¹´06月01æ—¥ 880s # %Ex -> actual: 令和05å¹´06月01æ—¥ 880s # %EX -> expected: 00時00分00ç§’ 880s # %EX -> actual: 00時00分00ç§’ 880s # %Ey -> expected: 05 880s # %Ey -> actual: 05 880s # %EY -> expected: 令和05å¹´ 880s # %EY -> actual: 令和05å¹´ 880s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 880s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 880s # %EC -> expected: å¹³æˆ 880s # %EC -> actual: å¹³æˆ 880s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 880s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 880s # %EX -> expected: 00時00分00ç§’ 880s # %EX -> actual: 00時00分00ç§’ 880s # %Ey -> expected: 31 880s # %Ey -> actual: 31 880s # %EY -> expected: å¹³æˆ31å¹´ 880s # %EY -> actual: å¹³æˆ31å¹´ 880s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00ç§’ 880s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00ç§’ 880s # %EC -> expected: 昭和 880s # %EC -> actual: 昭和 880s # %Ex -> expected: 昭和元年12月25æ—¥ 880s # %Ex -> actual: 昭和元年12月25æ—¥ 880s # %EX -> expected: 00時00分00ç§’ 880s # %EX -> actual: 00時00分00ç§’ 880s # %Ey -> expected: 01 880s # %Ey -> actual: 01 880s # %EY -> expected: 昭和元年 880s # %EY -> actual: 昭和元年 880s ok 56 /GDateTime/eras/japan 880s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 880s # Vector 0: 880s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 880s # 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å¹´ 880s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 880s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 880s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 880s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 880s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 880s # Vector 8: + 880s # Vector 9: +: 880s # Vector 10: +:: 880s # Vector 11: +:200 880s # Vector 12: +:2nonsense 880s # Vector 13: +:2nonsense: 880s # Vector 14: +:2: 880s # Vector 15: +:2:: 880s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 880s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 880s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 880s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 880s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 880s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 880s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 880s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 880s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 880s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 880s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 880s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 880s # Vector 28: +:2:2020/01/01 880s # Vector 29: +:2:2020/01/01: 880s # Vector 30: +:2:2020/01/01:: 880s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 880s # Vector 32: +:2:2020/01/01:+* 880s # Vector 33: +:2:2020/01/01:+*: 880s # Vector 34: +:2:2020/01/01:+*:: 880s # Vector 35: +:2:2020/01/01:+*:令和 880s # Vector 36: +:2:2020/01/01:+*:令和: 880s # Vector 37: +:2:2020/01/01:+*:令和:; 880s ok 58 /GDateTime/eras/parsing 880s # End of eras tests 880s # End of GDateTime tests 880s # Start of GTimeZone tests 880s ok 59 /GTimeZone/find-interval 880s ok 60 /GTimeZone/adjust-time 880s ok 61 /GTimeZone/no-header 880s ok 62 /GTimeZone/no-header-identifier 880s ok 63 /GTimeZone/posix-parse 880s # Bug Reference: http://bugzilla.gnome.org/697715 880s ok 64 /GTimeZone/floating-point 880s # System time zone identifier: Etc/UTC 880s ok 65 /GTimeZone/identifier 880s # Vector 0: -158400 880s # Vector 1: -10000 880s # Vector 2: -3600 880s # Vector 3: -61 880s # Vector 4: -60 880s # Vector 5: -59 880s # Vector 6: 0 880s # Vector 7: 59 880s # Vector 8: 60 880s # Vector 9: 61 880s # Vector 10: 3600 880s # Vector 11: 10000 880s # Vector 12: 158400 880s ok 66 /GTimeZone/new-offset 880s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 880s ok 67 /GTimeZone/parse-rfc8536 880s # /GTimeZone/caching summary: GTimeZone instances are cached 880s ok 68 /GTimeZone/caching 880s # End of GTimeZone tests 880s ok - glib/gdatetime.test 880s # Running test: glib/registered-type-info.test 880s TAP version 13 880s # random seed: R02Sa979df0a5279cc777f675ebc50a9adcd 880s 1..1 880s # Start of registered-type-info tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_YAG2K2/registered-type-info/boxed/.dirs/runtime 880s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 880s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 880s # Expecting CClosure to not be boxed 880s # Expecting TypeCValue to not be boxed 880s # Expecting InitiallyUnownedClass to not be boxed 880s # Expecting BookmarkFile to be boxed 880s # Expecting Closure to be boxed 880s # Expecting Object to not be boxed 880s ok 1 /registered-type-info/boxed 880s # End of registered-type-info tests 880s ok - glib/registered-type-info.test 880s # Running test: glib/gobject-query.py.test 880s TAP version 13 880s ok 1 __main__.TestGobjectQuery.test_froots 880s # gobject-query: /usr/bin/gobject-query 880s # Running: ['/usr/bin/gobject-query', 'froots'] 880s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 880s # Output: ├void 880s # ├GInterface 880s # │ â””GTypePlugin 880s # ├gchar 880s # ├guchar 880s # ├gboolean 880s # ├gint 880s # ├guint 880s # ├glong 880s # ├gulong 880s # ├gint64 880s # ├guint64 880s # ├GEnum 880s # ├GFlags 880s # ├gfloat 880s # ├gdouble 880s # ├gchararray 880s # ├gpointer 880s # │ â””GType 880s # ├GBoxed 880s # │ â””GValueArray 880s # ├GParam 880s # │ ├GParamChar 880s # │ ├GParamUChar 880s # │ ├GParamBoolean 880s # │ ├GParamInt 880s # │ ├GParamUInt 880s # │ ├GParamLong 880s # │ ├GParamULong 880s # │ ├GParamInt64 880s # │ ├GParamUInt64 880s # │ ├GParamUnichar 880s # │ ├GParamEnum 880s # │ ├GParamFlags 880s # │ ├GParamFloat 880s # │ ├GParamDouble 880s # │ ├GParamString 880s # │ ├GParamParam 880s # │ ├GParamBoxed 880s # │ ├GParamPointer 880s # │ ├GParamValueArray 880s # │ ├GParamObject 880s # │ ├GParamOverride 880s # │ ├GParamGType 880s # │ â””GParamVariant 880s # ├GObject 880s # â””GVariant 880s ok 2 __main__.TestGobjectQuery.test_help 880s # gobject-query: /usr/bin/gobject-query 880s # Running: ['/usr/bin/gobject-query', '--help'] 880s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 880s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 880s # -r specify root type 880s # -n don't descend type tree 880s # -h show help 880s # -b specify indent string 880s # -i specify incremental indent string 880s # -s specify line spacing 880s # qualifiers: 880s # froots iterate over fundamental roots 880s # tree print type tree 880s ok 3 __main__.TestGobjectQuery.test_tree 880s # gobject-query: /usr/bin/gobject-query 880s # Running: ['/usr/bin/gobject-query', 'tree'] 880s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 880s # Output: GObject 880s ok 4 __main__.TestGobjectQuery.test_version 880s # gobject-query: /usr/bin/gobject-query 880s # Running: ['/usr/bin/gobject-query', '--version'] 880s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 880s # Output: 2.79.3 880s 1..4 880s ok - glib/gobject-query.py.test 880s # Running test: glib/param.test 880s TAP version 13 880s # random seed: R02Sb6596b54f542841ae617accc4efaf3f7 880s 1..32 880s # Start of param tests 880s ok 1 /param/value 880s ok 2 /param/strings 880s ok 3 /param/qdata 880s ok 4 /param/validate 880s ok 5 /param/convert 880s ok 6 /param/implement # SKIP Skipping slow /param/implement test 880s ok 7 /param/default 880s ok 8 /param/is-valid-name 880s # Start of invalid-name tests 880s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 880s ok 9 /param/invalid-name/colon 880s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 880s ok 10 /param/invalid-name/first-char 880s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 880s ok 11 /param/invalid-name/empty 880s # End of invalid-name tests 880s # Start of implement tests 880s # Start of subprocess tests 880s # End of subprocess tests 880s # End of implement tests 880s # End of param tests 880s # Start of value tests 880s ok 12 /value/transform 880s # End of value tests 880s # Start of paramspec tests 880s ok 13 /paramspec/char 880s ok 14 /paramspec/uchar 880s ok 15 /paramspec/int 880s ok 16 /paramspec/uint 880s ok 17 /paramspec/long 880s ok 18 /paramspec/ulong 880s ok 19 /paramspec/int64 880s ok 20 /paramspec/uint64 880s ok 21 /paramspec/float 880s ok 22 /paramspec/double 880s ok 23 /paramspec/unichar 880s ok 24 /paramspec/param 880s ok 25 /paramspec/null-param 880s ok 26 /paramspec/string 880s ok 27 /paramspec/override 880s ok 28 /paramspec/gtype 880s ok 29 /paramspec/variant 880s ok 30 /paramspec/custom 880s ok 31 /paramspec/pool 880s # Start of variant tests 880s ok 32 /paramspec/variant/cmp 880s # End of variant tests 880s # End of paramspec tests 880s ok - glib/param.test 880s # Running test: glib/gdbus-serialization.test 880s TAP version 13 880s # random seed: R02Sb16f7b7496f938dd3fb2a6608fd2b589 880s 1..18 880s # Start of gdbus tests 880s # Start of message-serialize tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/basic/.dirs/runtime 880s ok 1 /gdbus/message-serialize/basic 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/complex/.dirs/runtime 880s ok 2 /gdbus/message-serialize/complex 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/invalid/.dirs/runtime 880s ok 3 /gdbus/message-serialize/invalid 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/.dirs/runtime 880s ok 4 /gdbus/message-serialize/header-checks 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/double-array/.dirs/runtime 880s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 880s ok 5 /gdbus/message-serialize/double-array 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/empty-structure/.dirs/runtime 880s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 880s ok 6 /gdbus/message-serialize/empty-structure 880s # Start of header-checks tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 880s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 880s ok 7 /gdbus/message-serialize/header-checks/valid 880s # End of header-checks tests 880s # End of message-serialize tests 880s # Start of message-parse tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 880s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 880s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/non-signature-header/.dirs/runtime 880s ok 9 /gdbus/message-parse/non-signature-header 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 880s ok 10 /gdbus/message-parse/empty-signature-header 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 880s ok 11 /gdbus/message-parse/multiple-signature-header 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 880s ok 12 /gdbus/message-parse/over-long-signature-header 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 880s ok 13 /gdbus/message-parse/deep-header-nesting 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 880s ok 14 /gdbus/message-parse/deep-body-nesting 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/truncated/.dirs/runtime 880s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 880s ok 15 /gdbus/message-parse/truncated 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/empty-structure/.dirs/runtime 880s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 880s ok 16 /gdbus/message-parse/empty-structure 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/missing-header/.dirs/runtime 880s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 880s ok 17 /gdbus/message-parse/missing-header 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_7WHKK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 880s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 880s ok 18 /gdbus/message-parse/invalid-header-type 880s # End of message-parse tests 880s # End of gdbus tests 880s ok - glib/gdbus-serialization.test 880s # Running test: glib/socket-listener.test 880s TAP version 13 880s # random seed: R02Se3a0d22daddeddbdf6dd42e5d86e07a2 880s 1..1 880s # Start of socket-listener tests 880s ok 1 /socket-listener/event-signal 880s # End of socket-listener tests 880s ok - glib/socket-listener.test 880s # Running test: glib/utils-c-11.test 880s TAP version 13 880s # random seed: R02Sa9310e9a94ebeed0bff9d0d6abec00d4 880s 1..40 880s # Start of utils tests 880s ok 1 /utils/language-names 880s ok 2 /utils/locale-variants 880s ok 3 /utils/version 880s ok 4 /utils/appname 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 880s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 880s ok 5 /utils/prgname-thread-safety 880s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 880s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 880s ok 6 /utils/tmpdir 880s ok 7 /utils/basic_bits 880s ok 8 /utils/bits 880s ok 9 /utils/swap 880s ok 10 /utils/find-program 880s ok 11 /utils/find-program-for-path 880s ok 12 /utils/debug 880s ok 13 /utils/codeset 880s ok 14 /utils/codeset2 880s ok 15 /utils/console-charset 880s ok 16 /utils/gettext 880s ok 17 /utils/username 880s ok 18 /utils/realname 880s ok 19 /utils/hostname 880s ok 20 /utils/xdgdirs 880s ok 21 /utils/specialdir 880s # NAME: Ubuntu 880s ok 22 /utils/os-info 880s ok 23 /utils/clear-pointer 880s ok 24 /utils/clear-pointer-cast 880s ok 25 /utils/take-pointer 880s ok 26 /utils/clear-source 880s ok 27 /utils/misc-mem 880s # /utils/aligned-mem summary: Aligned memory allocator 880s # Alignment must not be zero 880s # Alignment must be a power of two 880s # Alignment must be a multiple of sizeof(void*) 880s ok 28 /utils/aligned-mem 880s # /utils/free-sized summary: Check that g_free_sized() works 880s ok 29 /utils/free-sized 880s ok 30 /utils/nullify 880s ok 31 /utils/atexit 880s ok 32 /utils/check-setuid 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 880s ok 33 /utils/int-limits 880s ok 34 /utils/clear-list 880s ok 35 /utils/clear-slist 880s # Start of specialdir tests 880s ok 36 /utils/specialdir/desktop 880s # End of specialdir tests 880s # Start of clear-pointer tests 880s ok 37 /utils/clear-pointer/side-effects 880s # End of clear-pointer tests 880s # Start of aligned-mem tests 880s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 880s ok 38 /utils/aligned-mem/alignment 880s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 880s ok 39 /utils/aligned-mem/zeroed 880s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 880s ok 40 /utils/aligned-mem/free-sized 880s # Start of subprocess tests 880s # End of subprocess tests 880s # End of aligned-mem tests 880s # End of utils tests 880s ok - glib/utils-c-11.test 880s # Running test: glib/cache.test 880s TAP version 13 880s # random seed: R02S4872ab31148c6bb5d500b1a8a46db2a2 880s 1..1 880s # Start of cache tests 880s ok 1 /cache/basic 880s # End of cache tests 880s ok - glib/cache.test 880s # Running test: glib/environment.test 880s TAP version 13 880s # random seed: R02S6094b94479d7d004586ac1f82d952985 880s 1..6 880s # Start of environ tests 880s # /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. 880s ok 1 /environ/listenv 880s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 880s ok 2 /environ/getenv 880s ok 3 /environ/setenv 880s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 880s ok 4 /environ/array 880s # /environ/null summary: Test getting and setting variables on a NULL envp array. 880s ok 5 /environ/null 880s # /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. 880s ok 6 /environ/case 880s # End of environ tests 880s ok - glib/environment.test 880s # Running test: glib/gthash.test 880s TAP version 13 880s # random seed: R02S2d430616dfcb56a1538eec544a2b874e 880s 1..1 880s # Start of gthash tests 880s ok 1 /gthash/build-retrieve 880s # End of gthash tests 880s ok - glib/gthash.test 880s # Running test: glib/refstring.test 880s TAP version 13 880s # random seed: R02S6060c544a8ca96ae6b8d5322be90c42f 880s 1..5 880s # Start of refstring tests 880s # s = 'hello, world' (0xae8dab941660) 880s ok 1 /refstring/base 880s ok 2 /refstring/length 880s ok 3 /refstring/length-auto 880s ok 4 /refstring/length-nuls 880s # s = 'hello, world' (0xae8dab941660) 880s # p = s = 'hello, world' (0xae8dab941660) 880s # releasing p[0xae8dab941660] ('hello, world') 880s # p = 'goodbye, world' (0xae8dab9496c0) 880s # releasing p[0xae8dab9496c0] ('goodbye, world') 880s # releasing s[0xae8dab941660] ('hello, world') 880s ok 5 /refstring/intern 880s # End of refstring tests 880s ok - glib/refstring.test 880s # Running test: glib/array-test.test 880s TAP version 13 880s # random seed: R02S6e4d1d71eb09356603800c647c3d3f53 880s 1..113 880s # Start of array tests 880s ok 1 /array/ref-count 880s ok 2 /array/steal 880s ok 3 /array/clear-func 880s ok 4 /array/binary-search 880s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 880s ok 5 /array/copy-sized 880s ok 6 /array/overflow-append-vals 880s ok 7 /array/overflow-set-size 880s # Start of new tests 880s ok 8 /array/new/zero-terminated 880s ok 9 /array/new/take 880s ok 10 /array/new/take-zero-terminated 880s # Start of take tests 880s ok 11 /array/new/take/empty 880s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 880s # End of take tests 880s # End of new tests 880s # Start of set-size tests 880s ok 13 /array/set-size/non-zero-terminated-no-clear 880s ok 14 /array/set-size/non-zero-terminated-clear 880s ok 15 /array/set-size/zero-terminated-no-clear 880s ok 16 /array/set-size/zero-terminated-clear 880s # Start of sized tests 880s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 880s ok 18 /array/set-size/sized/non-zero-terminated-clear 880s ok 19 /array/set-size/sized/zero-terminated-no-clear 880s ok 20 /array/set-size/sized/zero-terminated-clear 880s # End of sized tests 880s # End of set-size tests 880s # Start of append-val tests 880s ok 21 /array/append-val/non-zero-terminated-no-clear 880s ok 22 /array/append-val/non-zero-terminated-clear 880s ok 23 /array/append-val/zero-terminated-no-clear 880s ok 24 /array/append-val/zero-terminated-clear 880s # End of append-val tests 880s # Start of prepend-val tests 880s ok 25 /array/prepend-val/non-zero-terminated-no-clear 880s ok 26 /array/prepend-val/non-zero-terminated-clear 880s ok 27 /array/prepend-val/zero-terminated-no-clear 880s ok 28 /array/prepend-val/zero-terminated-clear 880s # End of prepend-val tests 880s # Start of prepend-vals tests 880s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 880s ok 30 /array/prepend-vals/non-zero-terminated-clear 880s ok 31 /array/prepend-vals/zero-terminated-no-clear 880s ok 32 /array/prepend-vals/zero-terminated-clear 880s # End of prepend-vals tests 880s # Start of insert-vals tests 880s ok 33 /array/insert-vals/non-zero-terminated-no-clear 880s ok 34 /array/insert-vals/non-zero-terminated-clear 880s ok 35 /array/insert-vals/zero-terminated-no-clear 880s ok 36 /array/insert-vals/zero-terminated-clear 880s # End of insert-vals tests 880s # Start of remove-index tests 880s ok 37 /array/remove-index/non-zero-terminated-no-clear 880s ok 38 /array/remove-index/non-zero-terminated-clear 880s ok 39 /array/remove-index/zero-terminated-no-clear 880s ok 40 /array/remove-index/zero-terminated-clear 880s # End of remove-index tests 880s # Start of remove-index-fast tests 880s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 880s ok 42 /array/remove-index-fast/non-zero-terminated-clear 880s ok 43 /array/remove-index-fast/zero-terminated-no-clear 880s ok 44 /array/remove-index-fast/zero-terminated-clear 880s # End of remove-index-fast tests 880s # Start of remove-range tests 880s ok 45 /array/remove-range/non-zero-terminated-no-clear 880s ok 46 /array/remove-range/non-zero-terminated-clear 880s ok 47 /array/remove-range/zero-terminated-no-clear 880s ok 48 /array/remove-range/zero-terminated-clear 880s # End of remove-range tests 880s # Start of copy tests 880s ok 49 /array/copy/non-zero-terminated-no-clear 880s ok 50 /array/copy/non-zero-terminated-clear 880s ok 51 /array/copy/zero-terminated-no-clear 880s ok 52 /array/copy/zero-terminated-clear 880s # End of copy tests 880s # Start of sort tests 880s ok 53 /array/sort/non-zero-terminated-no-clear 880s ok 54 /array/sort/non-zero-terminated-clear 880s ok 55 /array/sort/zero-terminated-no-clear 880s ok 56 /array/sort/zero-terminated-clear 880s # End of sort tests 880s # Start of sort-with-data tests 880s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 880s ok 58 /array/sort-with-data/non-zero-terminated-clear 880s ok 59 /array/sort-with-data/zero-terminated-no-clear 880s ok 60 /array/sort-with-data/zero-terminated-clear 880s # End of sort-with-data tests 880s # End of array tests 880s # Start of pointerarray tests 880s ok 61 /pointerarray/add 880s ok 62 /pointerarray/insert 880s ok 63 /pointerarray/new-take 880s ok 64 /pointerarray/new-take-null-terminated 880s ok 65 /pointerarray/new-from-array 880s ok 66 /pointerarray/new-from-null-terminated-array 880s ok 67 /pointerarray/free-func 880s ok 68 /pointerarray/array_extend_and_steal 880s ok 69 /pointerarray/sort 880s ok 70 /pointerarray/sort-with-data 880s ok 71 /pointerarray/sort-values 880s ok 72 /pointerarray/sort-values-with-data 880s ok 73 /pointerarray/remove-range 880s ok 74 /pointerarray/steal 880s # Start of free tests 880s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 880s ok 75 /pointerarray/free/null-terminated 880s # End of free tests 880s # Start of new-take tests 880s ok 76 /pointerarray/new-take/empty 880s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 880s ok 78 /pointerarray/new-take/with-free-func 880s # End of new-take tests 880s # Start of new-take-null-terminated tests 880s ok 79 /pointerarray/new-take-null-terminated/empty 880s ok 80 /pointerarray/new-take-null-terminated/with-free-func 880s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 880s # End of new-take-null-terminated tests 880s # Start of new-from-array tests 880s ok 82 /pointerarray/new-from-array/empty 880s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 880s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 880s # End of new-from-array tests 880s # Start of new-from-null-terminated-array tests 880s ok 85 /pointerarray/new-from-null-terminated-array/empty 880s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 880s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 880s # End of new-from-null-terminated-array tests 880s # Start of ref-count tests 880s ok 88 /pointerarray/ref-count/not-null-terminated 880s ok 89 /pointerarray/ref-count/null-terminated 880s # End of ref-count tests 880s # Start of array_copy tests 880s # /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 880s ok 90 /pointerarray/array_copy/not-null-terminated 880s # /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 880s ok 91 /pointerarray/array_copy/null-terminated 880s # End of array_copy tests 880s # Start of array_extend tests 880s ok 92 /pointerarray/array_extend/not-null-terminated 880s ok 93 /pointerarray/array_extend/null-terminated 880s # End of array_extend tests 880s # Start of sort tests 880s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 880s ok 94 /pointerarray/sort/example 880s # End of sort tests 880s # Start of sort-with-data tests 880s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 880s ok 95 /pointerarray/sort-with-data/example 880s # End of sort-with-data tests 880s # Start of sort-values tests 880s ok 96 /pointerarray/sort-values/example 880s # End of sort-values tests 880s # Start of sort-values-with-data tests 880s ok 97 /pointerarray/sort-values-with-data/example 880s # End of sort-values-with-data tests 880s # Start of find tests 880s ok 98 /pointerarray/find/empty 880s ok 99 /pointerarray/find/non-empty 880s # End of find tests 880s # Start of steal_index tests 880s ok 100 /pointerarray/steal_index/not-null-terminated 880s ok 101 /pointerarray/steal_index/null-terminated 880s # End of steal_index tests 880s # End of pointerarray tests 880s # Start of bytearray tests 880s ok 102 /bytearray/steal 880s ok 103 /bytearray/append 880s ok 104 /bytearray/prepend 880s ok 105 /bytearray/remove 880s ok 106 /bytearray/remove-fast 880s ok 107 /bytearray/remove-range 880s ok 108 /bytearray/ref-count 880s ok 109 /bytearray/sort 880s ok 110 /bytearray/sort-with-data 880s ok 111 /bytearray/new-take 880s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 880s ok 113 /bytearray/free-to-bytes 880s # End of bytearray tests 880s ok - glib/array-test.test 880s # Running test: glib/trash.test 880s TAP version 13 880s # random seed: R02S47ae79f0d0ccaf9c4cbd72edf309e3eb 880s 1..2 880s # Start of trash tests 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 880s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 880s # File: /tmp/test-trashM36SK2 (parent st_dev: 64769) 880s # Home: /home/ubuntu (st_dev: 64769) 880s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 880s # Target: /home/ubuntu/.local (mount: /) 880s # Tmp: /tmp/test-trashO77SK2 (mount: /) 880s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 880s # End of trash tests 880s ok - glib/trash.test 880s # Running test: glib/gdbus-connection-loss.test 880s TAP version 13 880s # random seed: R02S454b51562dbd3369caf334fa673fbdde 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s 1..1 880s # Start of gdbus tests 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_MCITK2/gdbus/connection-loss/.dirs/runtime 880s ok 1 /gdbus/connection-loss 880s # End of gdbus tests 880s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 880s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 880s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 880s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 880s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 880s ok - glib/gdbus-connection-loss.test 880s # Running test: glib/filter-streams.test 881s TAP version 13 881s # random seed: R02S9b2220b233d5442dee2074e9bcaf202c 881s 1..4 881s # Start of filter-stream tests 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 881s ok 1 /filter-stream/input 881s ok 2 /filter-stream/output 881s ok 3 /filter-stream/async-input 881s ok 4 /filter-stream/async-output 881s # End of filter-stream tests 881s ok - glib/filter-streams.test 881s # Running test: glib/pattern.test 881s TAP version 13 881s # random seed: R02S0989c9896875aa7287f9ab2fd543ff05 881s 1..90 881s # Start of pattern tests 881s # Start of compile tests 881s ok 1 /pattern/compile/0 881s ok 2 /pattern/compile/1 881s ok 3 /pattern/compile/2 881s ok 4 /pattern/compile/3 881s ok 5 /pattern/compile/4 881s ok 6 /pattern/compile/5 881s ok 7 /pattern/compile/6 881s ok 8 /pattern/compile/7 881s ok 9 /pattern/compile/8 881s ok 10 /pattern/compile/9 881s ok 11 /pattern/compile/10 881s ok 12 /pattern/compile/11 881s ok 13 /pattern/compile/12 881s ok 14 /pattern/compile/13 881s # End of compile tests 881s # Start of copy tests 881s ok 15 /pattern/copy/0 881s ok 16 /pattern/copy/1 881s ok 17 /pattern/copy/2 881s ok 18 /pattern/copy/3 881s ok 19 /pattern/copy/4 881s ok 20 /pattern/copy/5 881s ok 21 /pattern/copy/6 881s ok 22 /pattern/copy/7 881s ok 23 /pattern/copy/8 881s ok 24 /pattern/copy/9 881s ok 25 /pattern/copy/10 881s ok 26 /pattern/copy/11 881s ok 27 /pattern/copy/12 881s ok 28 /pattern/copy/13 881s # End of copy tests 881s # Start of match tests 881s ok 29 /pattern/match/0 881s ok 30 /pattern/match/1 881s ok 31 /pattern/match/2 881s ok 32 /pattern/match/3 881s ok 33 /pattern/match/4 881s ok 34 /pattern/match/5 881s ok 35 /pattern/match/6 881s ok 36 /pattern/match/7 881s ok 37 /pattern/match/8 881s ok 38 /pattern/match/9 881s ok 39 /pattern/match/10 881s ok 40 /pattern/match/11 881s ok 41 /pattern/match/12 881s ok 42 /pattern/match/13 881s ok 43 /pattern/match/14 881s ok 44 /pattern/match/15 881s ok 45 /pattern/match/16 881s ok 46 /pattern/match/17 881s ok 47 /pattern/match/18 881s ok 48 /pattern/match/19 881s ok 49 /pattern/match/20 881s ok 50 /pattern/match/21 881s ok 51 /pattern/match/22 881s ok 52 /pattern/match/23 881s ok 53 /pattern/match/24 881s ok 54 /pattern/match/25 881s ok 55 /pattern/match/26 881s ok 56 /pattern/match/27 881s ok 57 /pattern/match/28 881s ok 58 /pattern/match/29 881s ok 59 /pattern/match/30 881s ok 60 /pattern/match/31 881s ok 61 /pattern/match/32 881s ok 62 /pattern/match/33 881s ok 63 /pattern/match/34 881s ok 64 /pattern/match/35 881s ok 65 /pattern/match/36 881s ok 66 /pattern/match/37 881s ok 67 /pattern/match/38 881s ok 68 /pattern/match/39 881s ok 69 /pattern/match/40 881s ok 70 /pattern/match/41 881s ok 71 /pattern/match/42 881s ok 72 /pattern/match/43 881s ok 73 /pattern/match/44 881s ok 74 /pattern/match/45 881s ok 75 /pattern/match/46 881s ok 76 /pattern/match/47 881s ok 77 /pattern/match/48 881s ok 78 /pattern/match/49 881s ok 79 /pattern/match/50 881s # End of match tests 881s # Start of equal tests 881s ok 80 /pattern/equal/0 881s ok 81 /pattern/equal/1 881s ok 82 /pattern/equal/2 881s ok 83 /pattern/equal/3 881s ok 84 /pattern/equal/4 881s ok 85 /pattern/equal/5 881s ok 86 /pattern/equal/6 881s ok 87 /pattern/equal/7 881s ok 88 /pattern/equal/8 881s ok 89 /pattern/equal/9 881s ok 90 /pattern/equal/10 881s # End of equal tests 881s # End of pattern tests 881s ok - glib/pattern.test 881s # Running test: glib/gdbus-names.test 881s TAP version 13 881s # random seed: R02S81c7d669cf36284cedb650964dad33e0 881s 1..10 881s # Start of gdbus tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/validate-names/.dirs/runtime 881s ok 1 /gdbus/validate-names 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-own-name/.dirs/runtime 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 2 /gdbus/bus-own-name 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name/.dirs/runtime 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 3 /gdbus/bus-watch-name 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 4 /gdbus/bus-watch-name-auto-start 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s dbus-daemon[15164]: [session uid=1000 pid=15164] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=15155 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 881s # Acquired a message bus connection 881s dbus-daemon[15164]: [session uid=1000 pid=15164] Successfully activated service 'org.gtk.GDBus.FakeService' 881s # Acquired the name org.gtk.GDBus.FakeService 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures/.dirs/runtime 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 6 /gdbus/bus-watch-name-closures 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 7 /gdbus/bus-watch-name-closures-auto-start 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-watch-different-context/.dirs/runtime 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 8 /gdbus/bus-watch-different-context 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/bus-unwatch-early/.dirs/runtime 881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok 9 /gdbus/bus-unwatch-early 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V44NK2/gdbus/escape-object-path/.dirs/runtime 881s ok 10 /gdbus/escape-object-path 881s # End of gdbus tests 881s ok - glib/gdbus-names.test 881s # Running test: glib/rwlock.test 881s TAP version 13 881s # random seed: R02Sa9e0e84812b7a25c2b2b11c44d7bf639 881s 1..8 881s # Start of thread tests 881s ok 1 /thread/rwlock1 881s ok 2 /thread/rwlock2 881s ok 3 /thread/rwlock3 881s ok 4 /thread/rwlock4 881s ok 5 /thread/rwlock5 881s ok 6 /thread/rwlock6 882s # Executing: glib/rwlock.test 886s ok 7 /thread/rwlock7 886s # slow test /thread/rwlock7 executed in 5.27 secs 886s ok 8 /thread/rwlock8 886s # End of thread tests 886s ok - glib/rwlock.test 886s # Running test: glib/autoptr.test 886s TAP version 13 886s # random seed: R02Sf34fc7ac221f0b686fde46be156a5033 886s 1..6 886s # Start of autoptr tests 886s ok 1 /autoptr/autoptr 886s ok 2 /autoptr/autoptr_steal 886s ok 3 /autoptr/autolist 886s ok 4 /autoptr/autoslist 886s ok 5 /autoptr/autoqueue 886s ok 6 /autoptr/autoclass 886s # End of autoptr tests 886s ok - glib/autoptr.test 886s # Running test: glib/unix-mounts.test 886s TAP version 13 886s # random seed: R02S9685ddd8eb4a99233e72bd995d80fc75 886s 1..2 886s # Start of unix-mounts tests 886s ok 1 /unix-mounts/is-system-fs-type 886s ok 2 /unix-mounts/is-system-device-path 886s # End of unix-mounts tests 886s ok - glib/unix-mounts.test 886s # Running test: glib/glistmodel.test 886s TAP version 13 886s # random seed: R02S9e32fe10e2540ba3490d3fa54e2d46c1 886s 1..18 886s # Start of glistmodel tests 886s # Start of store tests 886s ok 1 /glistmodel/store/properties 886s ok 2 /glistmodel/store/non-gobjects 886s ok 3 /glistmodel/store/boundaries 886s ok 4 /glistmodel/store/refcounts 886s ok 5 /glistmodel/store/sorted 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 886s ok 6 /glistmodel/store/splice-replace-middle 886s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 886s ok 7 /glistmodel/store/splice-replace-all 886s ok 8 /glistmodel/store/splice-noop 886s ok 9 /glistmodel/store/splice-remove-multiple 886s ok 10 /glistmodel/store/splice-add-multiple 886s ok 11 /glistmodel/store/splice-wrong-type 886s ok 12 /glistmodel/store/item-type 886s ok 13 /glistmodel/store/remove-all 886s ok 14 /glistmodel/store/sort 886s ok 15 /glistmodel/store/get-item-cache 886s ok 16 /glistmodel/store/items-changed 886s ok 17 /glistmodel/store/past-end 886s ok 18 /glistmodel/store/find 886s # End of store tests 886s # End of glistmodel tests 886s ok - glib/glistmodel.test 886s # Running test: glib/init.test 886s TAP version 13 886s # random seed: R02S001a8d72d441d8a829d0ba60d69f2198 886s 1..2 886s # Start of thread tests 886s # Start of deprecated tests 886s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/home 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/cache 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/system-config2 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/config 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/system-data2 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/data 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/state 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_0FMLK2/thread/deprecated/init/.dirs/runtime 886s ok 1 /thread/deprecated/init 886s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_0FMLK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 886s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 886s # End of deprecated tests 886s # End of thread tests 886s ok - glib/init.test 886s # Running test: glib/refcount-macro.test 886s TAP version 13 886s # random seed: R02S86034b9df4ef2e50175426ee245c8e66 886s 1..4 886s # Start of refcount tests 886s ok 1 /refcount/grefcount 886s ok 2 /refcount/gatomicrefcount 886s # Start of grefcount tests 886s ok 3 /refcount/grefcount/saturation 886s # End of grefcount tests 886s # Start of gatomicrefcount tests 886s ok 4 /refcount/gatomicrefcount/saturation 886s # End of gatomicrefcount tests 886s # End of refcount tests 886s ok - glib/refcount-macro.test 886s # Running test: glib/static-link.test 886s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 886s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 886s and make sure you have glib build dependencies installed, including 886s meson. 886s ok # SKIP - glib/static-link.test 886s # Running test: glib/mkenums.py.test 886s TAP version 13 886s ok 1 __main__.TestMkenums.test_available_in 886s # tmpdir: /tmp/tmpvp_pyd2s 886s # rspfile: False, mkenums: /usr/bin/glib-mkenums 886s # /tmp/tmpvp_pyd2s/tmpls6au9u1.h: 886s # typedef enum { 886s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 886s # } GDBusServerFlags; 886s # 886s # /tmp/tmpvp_pyd2s/tmpa9nfnkom.template: 886s # /*** BEGIN file-header ***/ 886s # file-header 886s # /*** END file-header ***/ 886s # 886s # /*** BEGIN file-production ***/ 886s # file-production 886s # filename: @filename@ 886s # basename: @basename@ 886s # /*** END file-production ***/ 886s # 886s # /*** BEGIN enumeration-production ***/ 886s # enumeration-production 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END enumeration-production ***/ 886s # 886s # /*** BEGIN value-header ***/ 886s # value-header 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-header ***/ 886s # 886s # /*** BEGIN value-production ***/ 886s # value-production 886s # VALUENAME: @VALUENAME@ 886s # valuenick: @valuenick@ 886s # valuenum: @valuenum@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-production ***/ 886s # 886s # /*** BEGIN value-tail ***/ 886s # value-tail 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-tail ***/ 886s # 886s # /*** BEGIN comment ***/ 886s # comment 886s # comment: @comment@ 886s # /*** END comment ***/ 886s # 886s # /*** BEGIN file-tail ***/ 886s # file-tail 886s # /*** END file-tail ***/ 886s # 886s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvp_pyd2s/tmpa9nfnkom.template', '/tmp/tmpvp_pyd2s/tmpls6au9u1.h'] 886s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 886s # Output: comment 886s # 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. 886s # 886s # 886s # file-header 886s # file-production 886s # filename: /tmp/tmpvp_pyd2s/tmpls6au9u1.h 886s # basename: tmpls6au9u1.h 886s # enumeration-production 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-header 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-production 886s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 886s # valuenick: user 886s # valuenum: 4 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-tail 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # file-tail 886s # 886s # comment 886s # comment: Generated data ends here 886s ok 2 __main__.TestMkenums.test_comma_in_enum_value 886s # tmpdir: /tmp/tmplq0ltjm4 886s # rspfile: False, mkenums: /usr/bin/glib-mkenums 886s # /tmp/tmplq0ltjm4/tmp_9silq3z.h: 886s # typedef enum { 886s # ENUM_VALUE_WITH_COMMA = ',', 886s # } TestCommaEnum; 886s # 886s # /tmp/tmplq0ltjm4/tmp5y1u9cmj.template: 886s # /*** BEGIN file-header ***/ 886s # file-header 886s # /*** END file-header ***/ 886s # 886s # /*** BEGIN file-production ***/ 886s # file-production 886s # filename: @filename@ 886s # basename: @basename@ 886s # /*** END file-production ***/ 886s # 886s # /*** BEGIN enumeration-production ***/ 886s # enumeration-production 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END enumeration-production ***/ 886s # 886s # /*** BEGIN value-header ***/ 886s # value-header 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-header ***/ 886s # 886s # /*** BEGIN value-production ***/ 886s # value-production 886s # VALUENAME: @VALUENAME@ 886s # valuenick: @valuenick@ 886s # valuenum: @valuenum@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-production ***/ 886s # 886s # /*** BEGIN value-tail ***/ 886s # value-tail 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-tail ***/ 886s # 886s # /*** BEGIN comment ***/ 886s # comment 886s # comment: @comment@ 886s # /*** END comment ***/ 886s # 886s # /*** BEGIN file-tail ***/ 886s # file-tail 886s # /*** END file-tail ***/ 886s # 886s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplq0ltjm4/tmp5y1u9cmj.template', '/tmp/tmplq0ltjm4/tmp_9silq3z.h'] 886s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 886s # Output: comment 886s # 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. 886s # 886s # 886s # file-header 886s # file-production 886s # filename: /tmp/tmplq0ltjm4/tmp_9silq3z.h 886s # basename: tmp_9silq3z.h 886s # enumeration-production 886s # EnumName: TestCommaEnum 886s # enum_name: test_comma_enum 886s # ENUMNAME: TEST_COMMA_ENUM 886s # ENUMSHORT: COMMA_ENUM 886s # ENUMPREFIX: TEST 886s # enumsince: 886s # type: enum 886s # Type: Enum 886s # TYPE: ENUM 886s # value-header 886s # EnumName: TestCommaEnum 886s # enum_name: test_comma_enum 886s # ENUMNAME: TEST_COMMA_ENUM 886s # ENUMSHORT: COMMA_ENUM 886s # ENUMPREFIX: TEST 886s # enumsince: 886s # type: enum 886s # Type: Enum 886s # TYPE: ENUM 886s # value-production 886s # VALUENAME: ENUM_VALUE_WITH_COMMA 886s # valuenick: comma 886s # valuenum: 44 886s # type: enum 886s # Type: Enum 886s # TYPE: ENUM 886s # value-tail 886s # EnumName: TestCommaEnum 886s # enum_name: test_comma_enum 886s # ENUMNAME: TEST_COMMA_ENUM 886s # ENUMSHORT: COMMA_ENUM 886s # ENUMPREFIX: TEST 886s # enumsince: 886s # type: enum 886s # Type: Enum 886s # TYPE: ENUM 886s # file-tail 886s # 886s # comment 886s # comment: Generated data ends here 886s ok 3 __main__.TestMkenums.test_deprecated_in 886s # tmpdir: /tmp/tmpq2uelg_j 886s # rspfile: False, mkenums: /usr/bin/glib-mkenums 886s # /tmp/tmpq2uelg_j/tmp6suvjxvo.h: 886s # typedef enum { 886s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 886s # } GDBusServerFlags; 886s # 886s # /tmp/tmpq2uelg_j/tmpm745fcgn.template: 886s # /*** BEGIN file-header ***/ 886s # file-header 886s # /*** END file-header ***/ 886s # 886s # /*** BEGIN file-production ***/ 886s # file-production 886s # filename: @filename@ 886s # basename: @basename@ 886s # /*** END file-production ***/ 886s # 886s # /*** BEGIN enumeration-production ***/ 886s # enumeration-production 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END enumeration-production ***/ 886s # 886s # /*** BEGIN value-header ***/ 886s # value-header 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-header ***/ 886s # 886s # /*** BEGIN value-production ***/ 886s # value-production 886s # VALUENAME: @VALUENAME@ 886s # valuenick: @valuenick@ 886s # valuenum: @valuenum@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-production ***/ 886s # 886s # /*** BEGIN value-tail ***/ 886s # value-tail 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-tail ***/ 886s # 886s # /*** BEGIN comment ***/ 886s # comment 886s # comment: @comment@ 886s # /*** END comment ***/ 886s # 886s # /*** BEGIN file-tail ***/ 886s # file-tail 886s # /*** END file-tail ***/ 886s # 886s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq2uelg_j/tmpm745fcgn.template', '/tmp/tmpq2uelg_j/tmp6suvjxvo.h'] 886s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 886s # Output: comment 886s # 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. 886s # 886s # 886s # file-header 886s # file-production 886s # filename: /tmp/tmpq2uelg_j/tmp6suvjxvo.h 886s # basename: tmp6suvjxvo.h 886s # enumeration-production 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-header 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-production 886s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 886s # valuenick: user 886s # valuenum: 4 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-tail 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # file-tail 886s # 886s # comment 886s # comment: Generated data ends here 886s ok 4 __main__.TestMkenums.test_deprecated_in_for 886s # tmpdir: /tmp/tmp78ul_ism 886s # rspfile: False, mkenums: /usr/bin/glib-mkenums 886s # /tmp/tmp78ul_ism/tmpb4dj2etp.h: 886s # typedef enum { 886s # 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) 886s # } GDBusServerFlags; 886s # 886s # /tmp/tmp78ul_ism/tmp_r2p0nlt.template: 886s # /*** BEGIN file-header ***/ 886s # file-header 886s # /*** END file-header ***/ 886s # 886s # /*** BEGIN file-production ***/ 886s # file-production 886s # filename: @filename@ 886s # basename: @basename@ 886s # /*** END file-production ***/ 886s # 886s # /*** BEGIN enumeration-production ***/ 886s # enumeration-production 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END enumeration-production ***/ 886s # 886s # /*** BEGIN value-header ***/ 886s # value-header 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-header ***/ 886s # 886s # /*** BEGIN value-production ***/ 886s # value-production 886s # VALUENAME: @VALUENAME@ 886s # valuenick: @valuenick@ 886s # valuenum: @valuenum@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-production ***/ 886s # 886s # /*** BEGIN value-tail ***/ 886s # value-tail 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-tail ***/ 886s # 886s # /*** BEGIN comment ***/ 886s # comment 886s # comment: @comment@ 886s # /*** END comment ***/ 886s # 886s # /*** BEGIN file-tail ***/ 886s # file-tail 886s # /*** END file-tail ***/ 886s # 886s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp78ul_ism/tmp_r2p0nlt.template', '/tmp/tmp78ul_ism/tmpb4dj2etp.h'] 886s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 886s # Output: comment 886s # 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. 886s # 886s # 886s # file-header 886s # file-production 886s # filename: /tmp/tmp78ul_ism/tmpb4dj2etp.h 886s # basename: tmpb4dj2etp.h 886s # enumeration-production 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-header 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-production 886s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 886s # valuenick: user 886s # valuenum: 4 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # value-tail 886s # EnumName: GDBusServerFlags 886s # enum_name: g_dbus_server_flags 886s # ENUMNAME: G_DBUS_SERVER_FLAGS 886s # ENUMSHORT: DBUS_SERVER_FLAGS 886s # ENUMPREFIX: G 886s # enumsince: 886s # type: flags 886s # Type: Flags 886s # TYPE: FLAGS 886s # file-tail 886s # 886s # comment 886s # comment: Generated data ends here 886s ok 5 __main__.TestMkenums.test_empty_header 886s # tmpdir: /tmp/tmppl2y0amy 886s # rspfile: False, mkenums: /usr/bin/glib-mkenums 886s # /tmp/tmppl2y0amy/tmpby5m55q6.h: 886s # /tmp/tmppl2y0amy/tmp7wcrr0l_.template: 886s # /*** BEGIN file-header ***/ 886s # file-header 886s # /*** END file-header ***/ 886s # 886s # /*** BEGIN file-production ***/ 886s # file-production 886s # filename: @filename@ 886s # basename: @basename@ 886s # /*** END file-production ***/ 886s # 886s # /*** BEGIN enumeration-production ***/ 886s # enumeration-production 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END enumeration-production ***/ 886s # 886s # /*** BEGIN value-header ***/ 886s # value-header 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-header ***/ 886s # 886s # /*** BEGIN value-production ***/ 886s # value-production 886s # VALUENAME: @VALUENAME@ 886s # valuenick: @valuenick@ 886s # valuenum: @valuenum@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-production ***/ 886s # 886s # /*** BEGIN value-tail ***/ 886s # value-tail 886s # EnumName: @EnumName@ 886s # enum_name: @enum_name@ 886s # ENUMNAME: @ENUMNAME@ 886s # ENUMSHORT: @ENUMSHORT@ 886s # ENUMPREFIX: @ENUMPREFIX@ 886s # enumsince: @enumsince@ 886s # type: @type@ 886s # Type: @Type@ 886s # TYPE: @TYPE@ 886s # /*** END value-tail ***/ 886s # 886s # /*** BEGIN comment ***/ 886s # comment 886s # comment: @comment@ 886s # /*** END comment ***/ 886s # 886s # /*** BEGIN file-tail ***/ 886s # file-tail 886s # /*** END file-tail ***/ 886s # 886s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppl2y0amy/tmp7wcrr0l_.template', '/tmp/tmppl2y0amy/tmpby5m55q6.h'] 886s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 886s # Output: comment 886s # 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. 886s # 886s # 886s # file-header 886s # file-tail 886s # 886s # comment 886s # comment: Generated data ends here 886s ok 6 __main__.TestMkenums.test_empty_template 886s # tmpdir: /tmp/tmp9_zl1twj 886s # rspfile: False, mkenums: /usr/bin/glib-mkenums 886s # /tmp/tmp9_zl1twj/tmp6ne03qwy.template: 886s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9_zl1twj/tmp6ne03qwy.template'] 886s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 886s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 886s # 886s # 886s # /* Generated data ends here */ 887s ok 7 __main__.TestMkenums.test_enum_name 887s # tmpdir: /tmp/tmp9esgj0op 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp9esgj0op/tmpvq0qfkku.h: 887s # typedef enum _SomeEnumIdentifier { 887s # ENUM_VALUE 887s # } SomeEnumIdentifier; 887s # 887s # /tmp/tmp9esgj0op/tmpyao5yk47.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9esgj0op/tmpyao5yk47.template', '/tmp/tmp9esgj0op/tmpvq0qfkku.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmp9esgj0op/tmpvq0qfkku.h 887s # basename: tmpvq0qfkku.h 887s # enumeration-production 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE 887s # valuenick: value 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 8 __main__.TestMkenums.test_enum_private_public 887s # tmpdir: /tmp/tmpuizc6p0g 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpuizc6p0g/tmpjqey8218.h: 887s # typedef enum { 887s # ENUM_VALUE_PUBLIC1, 887s # /*< private >*/ 887s # ENUM_VALUE_PRIVATE, 887s # } SomeEnumA 887s # 887s # /tmp/tmpuizc6p0g/tmpp7vyo0ph.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuizc6p0g/tmpp7vyo0ph.template', '/tmp/tmpuizc6p0g/tmpjqey8218.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpuizc6p0g/tmpjqey8218.h 887s # basename: tmpjqey8218.h 887s # enumeration-production 887s # EnumName: SomeEnumA 887s # enum_name: some_enum_a 887s # ENUMNAME: SOME_ENUM_A 887s # ENUMSHORT: ENUM_A 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: SomeEnumA 887s # enum_name: some_enum_a 887s # ENUMNAME: SOME_ENUM_A 887s # ENUMSHORT: ENUM_A 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE_PUBLIC1 887s # valuenick: public1 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: SomeEnumA 887s # enum_name: some_enum_a 887s # ENUMNAME: SOME_ENUM_A 887s # ENUMSHORT: ENUM_A 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s # /tmp/tmpuizc6p0g/tmpa3nnmhdu.h: 887s # typedef enum { 887s # /*< private >*/ 887s # ENUM_VALUE_PRIVATE, 887s # /*< public >*/ 887s # ENUM_VALUE_PUBLIC2, 887s # } SomeEnumB; 887s # 887s # /tmp/tmpuizc6p0g/tmps76b8at2.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuizc6p0g/tmps76b8at2.template', '/tmp/tmpuizc6p0g/tmpa3nnmhdu.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpuizc6p0g/tmpa3nnmhdu.h 887s # basename: tmpa3nnmhdu.h 887s # enumeration-production 887s # EnumName: SomeEnumB 887s # enum_name: some_enum_b 887s # ENUMNAME: SOME_ENUM_B 887s # ENUMSHORT: ENUM_B 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: SomeEnumB 887s # enum_name: some_enum_b 887s # ENUMNAME: SOME_ENUM_B 887s # ENUMSHORT: ENUM_B 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE_PUBLIC2 887s # valuenick: public2 887s # valuenum: 1 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: SomeEnumB 887s # enum_name: some_enum_b 887s # ENUMNAME: SOME_ENUM_B 887s # ENUMSHORT: ENUM_B 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 887s # tmpdir: /tmp/tmpkyzfhi4t 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpkyzfhi4t/tmpldvxsg71.h: 887s # typedef enum { 887s # /*< private >*/ 887s # ENUM_VALUE_PRIVATE = 5, 887s # /*< public >*/ 887s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 887s # } TestSymbolicEnum; 887s # 887s # /tmp/tmpkyzfhi4t/tmpvhv2erma.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkyzfhi4t/tmpvhv2erma.template', '/tmp/tmpkyzfhi4t/tmpldvxsg71.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpkyzfhi4t/tmpldvxsg71.h 887s # basename: tmpldvxsg71.h 887s # enumeration-production 887s # EnumName: TestSymbolicEnum 887s # enum_name: test_symbolic_enum 887s # ENUMNAME: TEST_SYMBOLIC_ENUM 887s # ENUMSHORT: SYMBOLIC_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: TestSymbolicEnum 887s # enum_name: test_symbolic_enum 887s # ENUMNAME: TEST_SYMBOLIC_ENUM 887s # ENUMSHORT: SYMBOLIC_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE_PUBLIC 887s # valuenick: public 887s # valuenum: 7 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: TestSymbolicEnum 887s # enum_name: test_symbolic_enum 887s # ENUMNAME: TEST_SYMBOLIC_ENUM 887s # ENUMSHORT: SYMBOLIC_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 887s # tmpdir: /tmp/tmp6h5idfnq 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp6h5idfnq/tmprlk7ukaz.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-tail ***/ 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6h5idfnq/tmprlk7ukaz.template'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # filename: @filename@ 887s # basename: @basename@ 887s # file-tail 887s # filename: @filename@ 887s # basename: @basename@ 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 11 __main__.TestMkenums.test_help 887s # tmpdir: /tmp/tmpzmpa9_x4 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # Running: ['/usr/bin/glib-mkenums', '--help'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 887s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 887s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 887s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 887s # [--comments COMMENT_TMPL] [--template TEMPLATE] 887s # [--output OUTPUT] [--version] 887s # [args ...] 887s # 887s # positional arguments: 887s # args One or more input files, or a single argument 887s # @rspfile_path pointing to a file that contains the 887s # actual arguments 887s # 887s # options: 887s # -h, --help show this help message and exit 887s # --identifier-prefix IDPREFIX 887s # Identifier prefix 887s # --symbol-prefix SYMPREFIX 887s # Symbol prefix 887s # --fhead FHEAD Output file header 887s # --ftail FTAIL Output file footer 887s # --fprod FPROD Put out TEXT every time a new input file is being 887s # processed. 887s # --eprod EPROD Per enum text, produced prior to value iterations 887s # --vhead VHEAD Value header, produced before iterating over enum 887s # values 887s # --vprod VPROD Value text, produced for each enum value. 887s # --vtail VTAIL Value tail, produced after iterating over enum values 887s # --comments COMMENT_TMPL 887s # Comment structure 887s # --template TEMPLATE Template file 887s # --output OUTPUT 887s # --version, -v Print version information 887s # 887s # Production text substitutions: 887s # @EnumName@ PrefixTheXEnum 887s # @enum_name@ prefix_the_xenum 887s # @ENUMNAME@ PREFIX_THE_XENUM 887s # @ENUMSHORT@ THE_XENUM 887s # @ENUMPREFIX@ PREFIX 887s # @enumsince@ the user-provided since value given 887s # @VALUENAME@ PREFIX_THE_XVALUE 887s # @valuenick@ the-xvalue 887s # @valuenum@ the integer value (limited support, Since: 2.26) 887s # @type@ either enum or flags 887s # @Type@ either Enum or Flags 887s # @TYPE@ either ENUM or FLAGS 887s # @filename@ name of current input file 887s # @basename@ base name of the current input file (Since: 2.22) 887s ok 12 __main__.TestMkenums.test_no_args 887s # tmpdir: /tmp/tmp2inoz9y7 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # Running: ['/usr/bin/glib-mkenums'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 887s # 887s # 887s # /* Generated data ends here */ 887s ok 13 __main__.TestMkenums.test_no_headers 887s # tmpdir: /tmp/tmp6dobs3ta 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp6dobs3ta/tmpyyopn54a.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6dobs3ta/tmpyyopn54a.template'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 14 __main__.TestMkenums.test_no_nick 887s # tmpdir: /tmp/tmpzo192ksn 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpzo192ksn/tmpcvsrydm8.h: 887s # typedef enum { 887s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 887s # } GeglSamplerType; 887s # 887s # /tmp/tmpzo192ksn/tmpx_u640m5.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzo192ksn/tmpx_u640m5.template', '/tmp/tmpzo192ksn/tmpcvsrydm8.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpzo192ksn/tmpcvsrydm8.h 887s # basename: tmpcvsrydm8.h 887s # enumeration-production 887s # EnumName: GeglSamplerType 887s # enum_name: gegl_sampler_type 887s # ENUMNAME: GEGL_SAMPLER_TYPE 887s # ENUMSHORT: SAMPLER_TYPE 887s # ENUMPREFIX: GEGL 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: GeglSamplerType 887s # enum_name: gegl_sampler_type 887s # ENUMNAME: GEGL_SAMPLER_TYPE 887s # ENUMSHORT: SAMPLER_TYPE 887s # ENUMPREFIX: GEGL 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: GEGL_SAMPLER_NEAREST 887s # valuenick: nearest 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: GeglSamplerType 887s # enum_name: gegl_sampler_type 887s # ENUMNAME: GEGL_SAMPLER_TYPE 887s # ENUMSHORT: SAMPLER_TYPE 887s # ENUMPREFIX: GEGL 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 15 __main__.TestMkenums.test_non_utf8_encoding 887s # tmpdir: /tmp/tmpoz2j8ib5 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpoz2j8ib5/tmphg3r76hq.h: 887s # /* Copyright © La Peña */ 887s # typedef enum { 887s # ENUM_VALUE 887s # } SomeEnumIdentifier; 887s # 887s # /tmp/tmpoz2j8ib5/tmpvkwc9mnf.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpoz2j8ib5/tmpvkwc9mnf.template', '/tmp/tmpoz2j8ib5/tmphg3r76hq.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpoz2j8ib5/tmphg3r76hq.h 887s # basename: tmphg3r76hq.h 887s # enumeration-production 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE 887s # valuenick: value 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 16 __main__.TestMkenums.test_reproducible 887s # tmpdir: /tmp/tmpje80gpte 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpje80gpte/tmp4ke1zoi_.template: template 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpje80gpte/tmp4ke1zoi_.template', '/tmp/tmpje80gpte/tmpo4087u0c1.h', '/tmp/tmpje80gpte/tmp3jk17czn2.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 887s # 887s # 887s # /* Generated data ends here */ 887s # /tmp/tmpje80gpte/tmpm7iw12vt.template: template 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpje80gpte/tmpm7iw12vt.template', '/tmp/tmpje80gpte/tmp3jk17czn2.h', '/tmp/tmpje80gpte/tmpo4087u0c1.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 887s # 887s # 887s # /* Generated data ends here */ 887s ok 17 __main__.TestMkenums.test_since 887s # tmpdir: /tmp/tmphwql_c9a 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmphwql_c9a/tmp18bs4v10.h: 887s # typedef enum { /*< since=1.0 >*/ 887s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 887s # } QmiWmsMessageProtocol; 887s # 887s # /tmp/tmphwql_c9a/tmpxa96mulf.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphwql_c9a/tmpxa96mulf.template', '/tmp/tmphwql_c9a/tmp18bs4v10.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmphwql_c9a/tmp18bs4v10.h 887s # basename: tmp18bs4v10.h 887s # enumeration-production 887s # EnumName: QmiWmsMessageProtocol 887s # enum_name: qmi_wms_message_protocol 887s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 887s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 887s # ENUMPREFIX: QMI 887s # enumsince: 1.0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: QmiWmsMessageProtocol 887s # enum_name: qmi_wms_message_protocol 887s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 887s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 887s # ENUMPREFIX: QMI 887s # enumsince: 1.0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 887s # valuenick: cdma 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: QmiWmsMessageProtocol 887s # enum_name: qmi_wms_message_protocol 887s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 887s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 887s # ENUMPREFIX: QMI 887s # enumsince: 1.0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 18 __main__.TestMkenums.test_with_double_quotes 887s # tmpdir: /tmp/tmpkg98aeh2 887s # rspfile: False, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpkg98aeh2/tmpeyeb9l9k.h: 887s # typedef enum { 887s # FOO_VALUE /*< nick="eek, a comma" >*/ 887s # } Foo; 887s # 887s # /tmp/tmpkg98aeh2/tmpxsa2w2og.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkg98aeh2/tmpxsa2w2og.template', '/tmp/tmpkg98aeh2/tmpeyeb9l9k.h'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpkg98aeh2/tmpeyeb9l9k.h 887s # basename: tmpeyeb9l9k.h 887s # enumeration-production 887s # EnumName: Foo 887s # enum_name: foo_ 887s # ENUMNAME: FOO_ 887s # ENUMSHORT: 887s # ENUMPREFIX: FOO 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: Foo 887s # enum_name: foo_ 887s # ENUMNAME: FOO_ 887s # ENUMSHORT: 887s # ENUMPREFIX: FOO 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: FOO_VALUE 887s # valuenick: eek, a comma 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: Foo 887s # enum_name: foo_ 887s # ENUMNAME: FOO_ 887s # ENUMSHORT: 887s # ENUMPREFIX: FOO 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 19 __main__.TestRspMkenums.test_available_in 887s # tmpdir: /tmp/tmpw1ckqiw2 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpw1ckqiw2/tmpn4m6_f49.h: 887s # typedef enum { 887s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 887s # } GDBusServerFlags; 887s # 887s # /tmp/tmpw1ckqiw2/tmpxiwr5jry.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmpw1ckqiw2/tmpxiwr5jry.template /tmp/tmpw1ckqiw2/tmpn4m6_f49.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw1ckqiw2/tmp3zmi5jpa'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpw1ckqiw2/tmpn4m6_f49.h 887s # basename: tmpn4m6_f49.h 887s # enumeration-production 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-header 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-production 887s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 887s # valuenick: user 887s # valuenum: 4 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-tail 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 887s # tmpdir: /tmp/tmpwwwfwrbo 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpwwwfwrbo/tmpoqfljdh7.h: 887s # typedef enum { 887s # ENUM_VALUE_WITH_COMMA = ',', 887s # } TestCommaEnum; 887s # 887s # /tmp/tmpwwwfwrbo/tmpk_ip8mn_.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmpwwwfwrbo/tmpk_ip8mn_.template /tmp/tmpwwwfwrbo/tmpoqfljdh7.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwwwfwrbo/tmpu7u64q2k'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpwwwfwrbo/tmpoqfljdh7.h 887s # basename: tmpoqfljdh7.h 887s # enumeration-production 887s # EnumName: TestCommaEnum 887s # enum_name: test_comma_enum 887s # ENUMNAME: TEST_COMMA_ENUM 887s # ENUMSHORT: COMMA_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: TestCommaEnum 887s # enum_name: test_comma_enum 887s # ENUMNAME: TEST_COMMA_ENUM 887s # ENUMSHORT: COMMA_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE_WITH_COMMA 887s # valuenick: comma 887s # valuenum: 44 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: TestCommaEnum 887s # enum_name: test_comma_enum 887s # ENUMNAME: TEST_COMMA_ENUM 887s # ENUMSHORT: COMMA_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 21 __main__.TestRspMkenums.test_deprecated_in 887s # tmpdir: /tmp/tmp5rfvdk3t 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp5rfvdk3t/tmpobn9w6t5.h: 887s # typedef enum { 887s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 887s # } GDBusServerFlags; 887s # 887s # /tmp/tmp5rfvdk3t/tmpzdibf5rw.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmp5rfvdk3t/tmpzdibf5rw.template /tmp/tmp5rfvdk3t/tmpobn9w6t5.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5rfvdk3t/tmpg30j1cpf'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmp5rfvdk3t/tmpobn9w6t5.h 887s # basename: tmpobn9w6t5.h 887s # enumeration-production 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-header 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-production 887s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 887s # valuenick: user 887s # valuenum: 4 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-tail 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 887s # tmpdir: /tmp/tmpkfsb3mp3 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmpkfsb3mp3/tmpcw4t31in.h: 887s # typedef enum { 887s # 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) 887s # } GDBusServerFlags; 887s # 887s # /tmp/tmpkfsb3mp3/tmpqe0uwom6.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmpkfsb3mp3/tmpqe0uwom6.template /tmp/tmpkfsb3mp3/tmpcw4t31in.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkfsb3mp3/tmp72kskfvq'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmpkfsb3mp3/tmpcw4t31in.h 887s # basename: tmpcw4t31in.h 887s # enumeration-production 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-header 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-production 887s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 887s # valuenick: user 887s # valuenum: 4 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # value-tail 887s # EnumName: GDBusServerFlags 887s # enum_name: g_dbus_server_flags 887s # ENUMNAME: G_DBUS_SERVER_FLAGS 887s # ENUMSHORT: DBUS_SERVER_FLAGS 887s # ENUMPREFIX: G 887s # enumsince: 887s # type: flags 887s # Type: Flags 887s # TYPE: FLAGS 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 23 __main__.TestRspMkenums.test_empty_header 887s # tmpdir: /tmp/tmp9_6fgyvx 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp9_6fgyvx/tmpap21zqn0.h: 887s # /tmp/tmp9_6fgyvx/tmppjf6cpjh.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmp9_6fgyvx/tmppjf6cpjh.template /tmp/tmp9_6fgyvx/tmpap21zqn0.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9_6fgyvx/tmpnfpmyr5k'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 24 __main__.TestRspMkenums.test_empty_template 887s # tmpdir: /tmp/tmp1qgpybjm 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp1qgpybjm/tmpje4hii0f.template: 887s # Response file contains: --template /tmp/tmp1qgpybjm/tmpje4hii0f.template 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1qgpybjm/tmp9ikeqs4f'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 887s # 887s # 887s # /* Generated data ends here */ 887s ok 25 __main__.TestRspMkenums.test_enum_name 887s # tmpdir: /tmp/tmp4iva4yd_ 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp4iva4yd_/tmpvvsip7tj.h: 887s # typedef enum _SomeEnumIdentifier { 887s # ENUM_VALUE 887s # } SomeEnumIdentifier; 887s # 887s # /tmp/tmp4iva4yd_/tmp4rtjtrqy.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmp4iva4yd_/tmp4rtjtrqy.template /tmp/tmp4iva4yd_/tmpvvsip7tj.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4iva4yd_/tmpa7a6h9k2'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmp4iva4yd_/tmpvvsip7tj.h 887s # basename: tmpvvsip7tj.h 887s # enumeration-production 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE 887s # valuenick: value 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: SomeEnumIdentifier 887s # enum_name: some_enum_identifier 887s # ENUMNAME: SOME_ENUM_IDENTIFIER 887s # ENUMSHORT: ENUM_IDENTIFIER 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s # Executing: glib/mkenums.py.test 887s ok 26 __main__.TestRspMkenums.test_enum_private_public 887s # tmpdir: /tmp/tmppz80igcd 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmppz80igcd/tmpzoiy0uoi.h: 887s # typedef enum { 887s # ENUM_VALUE_PUBLIC1, 887s # /*< private >*/ 887s # ENUM_VALUE_PRIVATE, 887s # } SomeEnumA 887s # 887s # /tmp/tmppz80igcd/tmp0y1qa4b4.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmppz80igcd/tmp0y1qa4b4.template /tmp/tmppz80igcd/tmpzoiy0uoi.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppz80igcd/tmp638756su'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmppz80igcd/tmpzoiy0uoi.h 887s # basename: tmpzoiy0uoi.h 887s # enumeration-production 887s # EnumName: SomeEnumA 887s # enum_name: some_enum_a 887s # ENUMNAME: SOME_ENUM_A 887s # ENUMSHORT: ENUM_A 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: SomeEnumA 887s # enum_name: some_enum_a 887s # ENUMNAME: SOME_ENUM_A 887s # ENUMSHORT: ENUM_A 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE_PUBLIC1 887s # valuenick: public1 887s # valuenum: 0 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: SomeEnumA 887s # enum_name: some_enum_a 887s # ENUMNAME: SOME_ENUM_A 887s # ENUMSHORT: ENUM_A 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s # /tmp/tmppz80igcd/tmpl7jzrmux.h: 887s # typedef enum { 887s # /*< private >*/ 887s # ENUM_VALUE_PRIVATE, 887s # /*< public >*/ 887s # ENUM_VALUE_PUBLIC2, 887s # } SomeEnumB; 887s # 887s # /tmp/tmppz80igcd/tmpvh7vcoim.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmppz80igcd/tmpvh7vcoim.template /tmp/tmppz80igcd/tmpl7jzrmux.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppz80igcd/tmpfjvd89_x'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmppz80igcd/tmpl7jzrmux.h 887s # basename: tmpl7jzrmux.h 887s # enumeration-production 887s # EnumName: SomeEnumB 887s # enum_name: some_enum_b 887s # ENUMNAME: SOME_ENUM_B 887s # ENUMSHORT: ENUM_B 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: SomeEnumB 887s # enum_name: some_enum_b 887s # ENUMNAME: SOME_ENUM_B 887s # ENUMSHORT: ENUM_B 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE_PUBLIC2 887s # valuenick: public2 887s # valuenum: 1 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: SomeEnumB 887s # enum_name: some_enum_b 887s # ENUMNAME: SOME_ENUM_B 887s # ENUMSHORT: ENUM_B 887s # ENUMPREFIX: SOME 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 887s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 887s # tmpdir: /tmp/tmp9o1o3rxe 887s # rspfile: True, mkenums: /usr/bin/glib-mkenums 887s # /tmp/tmp9o1o3rxe/tmp2my6r6v9.h: 887s # typedef enum { 887s # /*< private >*/ 887s # ENUM_VALUE_PRIVATE = 5, 887s # /*< public >*/ 887s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 887s # } TestSymbolicEnum; 887s # 887s # /tmp/tmp9o1o3rxe/tmpmay0yion.template: 887s # /*** BEGIN file-header ***/ 887s # file-header 887s # /*** END file-header ***/ 887s # 887s # /*** BEGIN file-production ***/ 887s # file-production 887s # filename: @filename@ 887s # basename: @basename@ 887s # /*** END file-production ***/ 887s # 887s # /*** BEGIN enumeration-production ***/ 887s # enumeration-production 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END enumeration-production ***/ 887s # 887s # /*** BEGIN value-header ***/ 887s # value-header 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-header ***/ 887s # 887s # /*** BEGIN value-production ***/ 887s # value-production 887s # VALUENAME: @VALUENAME@ 887s # valuenick: @valuenick@ 887s # valuenum: @valuenum@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-production ***/ 887s # 887s # /*** BEGIN value-tail ***/ 887s # value-tail 887s # EnumName: @EnumName@ 887s # enum_name: @enum_name@ 887s # ENUMNAME: @ENUMNAME@ 887s # ENUMSHORT: @ENUMSHORT@ 887s # ENUMPREFIX: @ENUMPREFIX@ 887s # enumsince: @enumsince@ 887s # type: @type@ 887s # Type: @Type@ 887s # TYPE: @TYPE@ 887s # /*** END value-tail ***/ 887s # 887s # /*** BEGIN comment ***/ 887s # comment 887s # comment: @comment@ 887s # /*** END comment ***/ 887s # 887s # /*** BEGIN file-tail ***/ 887s # file-tail 887s # /*** END file-tail ***/ 887s # 887s # Response file contains: --template /tmp/tmp9o1o3rxe/tmpmay0yion.template /tmp/tmp9o1o3rxe/tmp2my6r6v9.h 887s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9o1o3rxe/tmp4w4cs28b'] 887s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 887s # Output: comment 887s # 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. 887s # 887s # 887s # file-header 887s # file-production 887s # filename: /tmp/tmp9o1o3rxe/tmp2my6r6v9.h 887s # basename: tmp2my6r6v9.h 887s # enumeration-production 887s # EnumName: TestSymbolicEnum 887s # enum_name: test_symbolic_enum 887s # ENUMNAME: TEST_SYMBOLIC_ENUM 887s # ENUMSHORT: SYMBOLIC_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-header 887s # EnumName: TestSymbolicEnum 887s # enum_name: test_symbolic_enum 887s # ENUMNAME: TEST_SYMBOLIC_ENUM 887s # ENUMSHORT: SYMBOLIC_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-production 887s # VALUENAME: ENUM_VALUE_PUBLIC 887s # valuenick: public 887s # valuenum: 7 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # value-tail 887s # EnumName: TestSymbolicEnum 887s # enum_name: test_symbolic_enum 887s # ENUMNAME: TEST_SYMBOLIC_ENUM 887s # ENUMSHORT: SYMBOLIC_ENUM 887s # ENUMPREFIX: TEST 887s # enumsince: 887s # type: enum 887s # Type: Enum 887s # TYPE: ENUM 887s # file-tail 887s # 887s # comment 887s # comment: Generated data ends here 888s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 888s # tmpdir: /tmp/tmpblydbszq 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # /tmp/tmpblydbszq/tmpvh889s8u.template: 888s # /*** BEGIN file-header ***/ 888s # file-header 888s # filename: @filename@ 888s # basename: @basename@ 888s # /*** END file-header ***/ 888s # 888s # /*** BEGIN comment ***/ 888s # comment 888s # comment: @comment@ 888s # /*** END comment ***/ 888s # 888s # /*** BEGIN file-tail ***/ 888s # file-tail 888s # filename: @filename@ 888s # basename: @basename@ 888s # /*** END file-tail ***/ 888s # Response file contains: --template /tmp/tmpblydbszq/tmpvh889s8u.template 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpblydbszq/tmpmhximawr'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: comment 888s # 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. 888s # 888s # 888s # file-header 888s # filename: @filename@ 888s # basename: @basename@ 888s # file-tail 888s # filename: @filename@ 888s # basename: @basename@ 888s # 888s # comment 888s # comment: Generated data ends here 888s ok 29 __main__.TestRspMkenums.test_help 888s # tmpdir: /tmp/tmpk1hrlg57 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # Response file contains: --help 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk1hrlg57/tmpzzgpxst2'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 888s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 888s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 888s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 888s # [--comments COMMENT_TMPL] [--template TEMPLATE] 888s # [--output OUTPUT] [--version] 888s # [args ...] 888s # 888s # positional arguments: 888s # args One or more input files, or a single argument 888s # @rspfile_path pointing to a file that contains the 888s # actual arguments 888s # 888s # options: 888s # -h, --help show this help message and exit 888s # --identifier-prefix IDPREFIX 888s # Identifier prefix 888s # --symbol-prefix SYMPREFIX 888s # Symbol prefix 888s # --fhead FHEAD Output file header 888s # --ftail FTAIL Output file footer 888s # --fprod FPROD Put out TEXT every time a new input file is being 888s # processed. 888s # --eprod EPROD Per enum text, produced prior to value iterations 888s # --vhead VHEAD Value header, produced before iterating over enum 888s # values 888s # --vprod VPROD Value text, produced for each enum value. 888s # --vtail VTAIL Value tail, produced after iterating over enum values 888s # --comments COMMENT_TMPL 888s # Comment structure 888s # --template TEMPLATE Template file 888s # --output OUTPUT 888s # --version, -v Print version information 888s # 888s # Production text substitutions: 888s # @EnumName@ PrefixTheXEnum 888s # @enum_name@ prefix_the_xenum 888s # @ENUMNAME@ PREFIX_THE_XENUM 888s # @ENUMSHORT@ THE_XENUM 888s # @ENUMPREFIX@ PREFIX 888s # @enumsince@ the user-provided since value given 888s # @VALUENAME@ PREFIX_THE_XVALUE 888s # @valuenick@ the-xvalue 888s # @valuenum@ the integer value (limited support, Since: 2.26) 888s # @type@ either enum or flags 888s # @Type@ either Enum or Flags 888s # @TYPE@ either ENUM or FLAGS 888s # @filename@ name of current input file 888s # @basename@ base name of the current input file (Since: 2.22) 888s ok 30 __main__.TestRspMkenums.test_no_args 888s # tmpdir: /tmp/tmpzmktjm5q 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # Response file contains: 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzmktjm5q/tmphlm_et0c'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 888s # 888s # 888s # /* Generated data ends here */ 888s ok 31 __main__.TestRspMkenums.test_no_headers 888s # tmpdir: /tmp/tmpsme9i2h8 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # /tmp/tmpsme9i2h8/tmp9gfhv637.template: 888s # /*** BEGIN file-header ***/ 888s # file-header 888s # /*** END file-header ***/ 888s # 888s # /*** BEGIN file-production ***/ 888s # file-production 888s # filename: @filename@ 888s # basename: @basename@ 888s # /*** END file-production ***/ 888s # 888s # /*** BEGIN enumeration-production ***/ 888s # enumeration-production 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END enumeration-production ***/ 888s # 888s # /*** BEGIN value-header ***/ 888s # value-header 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-header ***/ 888s # 888s # /*** BEGIN value-production ***/ 888s # value-production 888s # VALUENAME: @VALUENAME@ 888s # valuenick: @valuenick@ 888s # valuenum: @valuenum@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-production ***/ 888s # 888s # /*** BEGIN value-tail ***/ 888s # value-tail 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-tail ***/ 888s # 888s # /*** BEGIN comment ***/ 888s # comment 888s # comment: @comment@ 888s # /*** END comment ***/ 888s # 888s # /*** BEGIN file-tail ***/ 888s # file-tail 888s # /*** END file-tail ***/ 888s # 888s # Response file contains: --template /tmp/tmpsme9i2h8/tmp9gfhv637.template 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsme9i2h8/tmpckmu1ti2'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: comment 888s # 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. 888s # 888s # 888s # file-header 888s # file-tail 888s # 888s # comment 888s # comment: Generated data ends here 888s ok 32 __main__.TestRspMkenums.test_no_nick 888s # tmpdir: /tmp/tmp0pu6bulx 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # /tmp/tmp0pu6bulx/tmp3k7ozqw7.h: 888s # typedef enum { 888s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 888s # } GeglSamplerType; 888s # 888s # /tmp/tmp0pu6bulx/tmpvuvliu4h.template: 888s # /*** BEGIN file-header ***/ 888s # file-header 888s # /*** END file-header ***/ 888s # 888s # /*** BEGIN file-production ***/ 888s # file-production 888s # filename: @filename@ 888s # basename: @basename@ 888s # /*** END file-production ***/ 888s # 888s # /*** BEGIN enumeration-production ***/ 888s # enumeration-production 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END enumeration-production ***/ 888s # 888s # /*** BEGIN value-header ***/ 888s # value-header 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-header ***/ 888s # 888s # /*** BEGIN value-production ***/ 888s # value-production 888s # VALUENAME: @VALUENAME@ 888s # valuenick: @valuenick@ 888s # valuenum: @valuenum@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-production ***/ 888s # 888s # /*** BEGIN value-tail ***/ 888s # value-tail 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-tail ***/ 888s # 888s # /*** BEGIN comment ***/ 888s # comment 888s # comment: @comment@ 888s # /*** END comment ***/ 888s # 888s # /*** BEGIN file-tail ***/ 888s # file-tail 888s # /*** END file-tail ***/ 888s # 888s # Response file contains: --template /tmp/tmp0pu6bulx/tmpvuvliu4h.template /tmp/tmp0pu6bulx/tmp3k7ozqw7.h 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0pu6bulx/tmpmyi7lg_8'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: comment 888s # 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. 888s # 888s # 888s # file-header 888s # file-production 888s # filename: /tmp/tmp0pu6bulx/tmp3k7ozqw7.h 888s # basename: tmp3k7ozqw7.h 888s # enumeration-production 888s # EnumName: GeglSamplerType 888s # enum_name: gegl_sampler_type 888s # ENUMNAME: GEGL_SAMPLER_TYPE 888s # ENUMSHORT: SAMPLER_TYPE 888s # ENUMPREFIX: GEGL 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-header 888s # EnumName: GeglSamplerType 888s # enum_name: gegl_sampler_type 888s # ENUMNAME: GEGL_SAMPLER_TYPE 888s # ENUMSHORT: SAMPLER_TYPE 888s # ENUMPREFIX: GEGL 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-production 888s # VALUENAME: GEGL_SAMPLER_NEAREST 888s # valuenick: nearest 888s # valuenum: 0 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-tail 888s # EnumName: GeglSamplerType 888s # enum_name: gegl_sampler_type 888s # ENUMNAME: GEGL_SAMPLER_TYPE 888s # ENUMSHORT: SAMPLER_TYPE 888s # ENUMPREFIX: GEGL 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # file-tail 888s # 888s # comment 888s # comment: Generated data ends here 888s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 888s # tmpdir: /tmp/tmp3gdhqjtg 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # /tmp/tmp3gdhqjtg/tmp60hbzb01.h: 888s # /* Copyright © La Peña */ 888s # typedef enum { 888s # ENUM_VALUE 888s # } SomeEnumIdentifier; 888s # 888s # /tmp/tmp3gdhqjtg/tmpcrwalcvq.template: 888s # /*** BEGIN file-header ***/ 888s # file-header 888s # /*** END file-header ***/ 888s # 888s # /*** BEGIN file-production ***/ 888s # file-production 888s # filename: @filename@ 888s # basename: @basename@ 888s # /*** END file-production ***/ 888s # 888s # /*** BEGIN enumeration-production ***/ 888s # enumeration-production 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END enumeration-production ***/ 888s # 888s # /*** BEGIN value-header ***/ 888s # value-header 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-header ***/ 888s # 888s # /*** BEGIN value-production ***/ 888s # value-production 888s # VALUENAME: @VALUENAME@ 888s # valuenick: @valuenick@ 888s # valuenum: @valuenum@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-production ***/ 888s # 888s # /*** BEGIN value-tail ***/ 888s # value-tail 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-tail ***/ 888s # 888s # /*** BEGIN comment ***/ 888s # comment 888s # comment: @comment@ 888s # /*** END comment ***/ 888s # 888s # /*** BEGIN file-tail ***/ 888s # file-tail 888s # /*** END file-tail ***/ 888s # 888s # Response file contains: --template /tmp/tmp3gdhqjtg/tmpcrwalcvq.template /tmp/tmp3gdhqjtg/tmp60hbzb01.h 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3gdhqjtg/tmpocqfyvss'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: comment 888s # 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. 888s # 888s # 888s # file-header 888s # file-production 888s # filename: /tmp/tmp3gdhqjtg/tmp60hbzb01.h 888s # basename: tmp60hbzb01.h 888s # enumeration-production 888s # EnumName: SomeEnumIdentifier 888s # enum_name: some_enum_identifier 888s # ENUMNAME: SOME_ENUM_IDENTIFIER 888s # ENUMSHORT: ENUM_IDENTIFIER 888s # ENUMPREFIX: SOME 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-header 888s # EnumName: SomeEnumIdentifier 888s # enum_name: some_enum_identifier 888s # ENUMNAME: SOME_ENUM_IDENTIFIER 888s # ENUMSHORT: ENUM_IDENTIFIER 888s # ENUMPREFIX: SOME 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-production 888s # VALUENAME: ENUM_VALUE 888s # valuenick: value 888s # valuenum: 0 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-tail 888s # EnumName: SomeEnumIdentifier 888s # enum_name: some_enum_identifier 888s # ENUMNAME: SOME_ENUM_IDENTIFIER 888s # ENUMSHORT: ENUM_IDENTIFIER 888s # ENUMPREFIX: SOME 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # file-tail 888s # 888s # comment 888s # comment: Generated data ends here 888s ok 34 __main__.TestRspMkenums.test_reproducible 888s # tmpdir: /tmp/tmplfebz6l_ 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # /tmp/tmplfebz6l_/tmpmqpmav2w.template: template 888s # Response file contains: --template /tmp/tmplfebz6l_/tmpmqpmav2w.template /tmp/tmplfebz6l_/tmpnnk0mcdt1.h /tmp/tmplfebz6l_/tmpldeyno6r2.h 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplfebz6l_/tmptuqfij6_'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 888s # 888s # 888s # /* Generated data ends here */ 888s # /tmp/tmplfebz6l_/tmp48j0q568.template: template 888s # Response file contains: --template /tmp/tmplfebz6l_/tmp48j0q568.template /tmp/tmplfebz6l_/tmpldeyno6r2.h /tmp/tmplfebz6l_/tmpnnk0mcdt1.h 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplfebz6l_/tmpt97djx4p'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 888s # 888s # 888s # /* Generated data ends here */ 888s ok 35 __main__.TestRspMkenums.test_since 888s # tmpdir: /tmp/tmpoozpx_qd 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # /tmp/tmpoozpx_qd/tmpf8kc5rnn.h: 888s # typedef enum { /*< since=1.0 >*/ 888s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 888s # } QmiWmsMessageProtocol; 888s # 888s # /tmp/tmpoozpx_qd/tmpz8_mdiwt.template: 888s # /*** BEGIN file-header ***/ 888s # file-header 888s # /*** END file-header ***/ 888s # 888s # /*** BEGIN file-production ***/ 888s # file-production 888s # filename: @filename@ 888s # basename: @basename@ 888s # /*** END file-production ***/ 888s # 888s # /*** BEGIN enumeration-production ***/ 888s # enumeration-production 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END enumeration-production ***/ 888s # 888s # /*** BEGIN value-header ***/ 888s # value-header 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-header ***/ 888s # 888s # /*** BEGIN value-production ***/ 888s # value-production 888s # VALUENAME: @VALUENAME@ 888s # valuenick: @valuenick@ 888s # valuenum: @valuenum@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-production ***/ 888s # 888s # /*** BEGIN value-tail ***/ 888s # value-tail 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-tail ***/ 888s # 888s # /*** BEGIN comment ***/ 888s # comment 888s # comment: @comment@ 888s # /*** END comment ***/ 888s # 888s # /*** BEGIN file-tail ***/ 888s # file-tail 888s # /*** END file-tail ***/ 888s # 888s # Response file contains: --template /tmp/tmpoozpx_qd/tmpz8_mdiwt.template /tmp/tmpoozpx_qd/tmpf8kc5rnn.h 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoozpx_qd/tmpcd2udncl'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: comment 888s # 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. 888s # 888s # 888s # file-header 888s # file-production 888s # filename: /tmp/tmpoozpx_qd/tmpf8kc5rnn.h 888s # basename: tmpf8kc5rnn.h 888s # enumeration-production 888s # EnumName: QmiWmsMessageProtocol 888s # enum_name: qmi_wms_message_protocol 888s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 888s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 888s # ENUMPREFIX: QMI 888s # enumsince: 1.0 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-header 888s # EnumName: QmiWmsMessageProtocol 888s # enum_name: qmi_wms_message_protocol 888s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 888s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 888s # ENUMPREFIX: QMI 888s # enumsince: 1.0 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-production 888s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 888s # valuenick: cdma 888s # valuenum: 0 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-tail 888s # EnumName: QmiWmsMessageProtocol 888s # enum_name: qmi_wms_message_protocol 888s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 888s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 888s # ENUMPREFIX: QMI 888s # enumsince: 1.0 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # file-tail 888s # 888s # comment 888s # comment: Generated data ends here 888s ok 36 __main__.TestRspMkenums.test_with_double_quotes 888s # tmpdir: /tmp/tmpjykjmpl1 888s # rspfile: True, mkenums: /usr/bin/glib-mkenums 888s # /tmp/tmpjykjmpl1/tmpjqqc8xvu.h: 888s # typedef enum { 888s # FOO_VALUE /*< nick="eek, a comma" >*/ 888s # } Foo; 888s # 888s # /tmp/tmpjykjmpl1/tmpkovd33go.template: 888s # /*** BEGIN file-header ***/ 888s # file-header 888s # /*** END file-header ***/ 888s # 888s # /*** BEGIN file-production ***/ 888s # file-production 888s # filename: @filename@ 888s # basename: @basename@ 888s # /*** END file-production ***/ 888s # 888s # /*** BEGIN enumeration-production ***/ 888s # enumeration-production 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END enumeration-production ***/ 888s # 888s # /*** BEGIN value-header ***/ 888s # value-header 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-header ***/ 888s # 888s # /*** BEGIN value-production ***/ 888s # value-production 888s # VALUENAME: @VALUENAME@ 888s # valuenick: @valuenick@ 888s # valuenum: @valuenum@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-production ***/ 888s # 888s # /*** BEGIN value-tail ***/ 888s # value-tail 888s # EnumName: @EnumName@ 888s # enum_name: @enum_name@ 888s # ENUMNAME: @ENUMNAME@ 888s # ENUMSHORT: @ENUMSHORT@ 888s # ENUMPREFIX: @ENUMPREFIX@ 888s # enumsince: @enumsince@ 888s # type: @type@ 888s # Type: @Type@ 888s # TYPE: @TYPE@ 888s # /*** END value-tail ***/ 888s # 888s # /*** BEGIN comment ***/ 888s # comment 888s # comment: @comment@ 888s # /*** END comment ***/ 888s # 888s # /*** BEGIN file-tail ***/ 888s # file-tail 888s # /*** END file-tail ***/ 888s # 888s # Response file contains: --template /tmp/tmpjykjmpl1/tmpkovd33go.template /tmp/tmpjykjmpl1/tmpjqqc8xvu.h 888s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjykjmpl1/tmpgucq8h1j'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: comment 888s # 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. 888s # 888s # 888s # file-header 888s # file-production 888s # filename: /tmp/tmpjykjmpl1/tmpjqqc8xvu.h 888s # basename: tmpjqqc8xvu.h 888s # enumeration-production 888s # EnumName: Foo 888s # enum_name: foo_ 888s # ENUMNAME: FOO_ 888s # ENUMSHORT: 888s # ENUMPREFIX: FOO 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-header 888s # EnumName: Foo 888s # enum_name: foo_ 888s # ENUMNAME: FOO_ 888s # ENUMSHORT: 888s # ENUMPREFIX: FOO 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-production 888s # VALUENAME: FOO_VALUE 888s # valuenick: eek, a comma 888s # valuenum: 0 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # value-tail 888s # EnumName: Foo 888s # enum_name: foo_ 888s # ENUMNAME: FOO_ 888s # ENUMSHORT: 888s # ENUMPREFIX: FOO 888s # enumsince: 888s # type: enum 888s # Type: Enum 888s # TYPE: ENUM 888s # file-tail 888s # 888s # comment 888s # comment: Generated data ends here 888s 1..36 888s ok - glib/mkenums.py.test 888s # Running test: glib/properties-introspection.test 888s TAP version 13 888s # random seed: R02Sa2055aeeafd64fa101be311016d65789 888s 1..2 888s # Start of properties tests 888s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 888s ok 1 /properties/introspection 888s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 888s ok 2 /properties/collision 888s # End of properties tests 888s ok - glib/properties-introspection.test 888s # Running test: glib/codegen.py.test 888s TAP version 13 888s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 888s # tmpdir: /tmp/tmpxdh634on 888s # codegen: /usr/bin/gdbus-codegen 888s # /tmp/tmpxdh634on/tmpdagdii8i.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxdh634on/tmpdagdii8i.xml', '--output', '-', '--header'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifndef __STDOUT__ 888s # #define __STDOUT__ 888s # 888s # #include 888s # 888s # G_BEGIN_DECLS 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # /* Declarations for org.project.UsefulInterface */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 888s # 888s # struct _OrgProjectUsefulInterface; 888s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 888s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 888s # 888s # struct _OrgProjectUsefulInterfaceIface 888s # { 888s # GTypeInterface parent_iface; 888s # 888s # gboolean (*handle_useful_method) ( 888s # OrgProjectUsefulInterface *object, 888s # GDBusMethodInvocation *invocation); 888s # 888s # }; 888s # 888s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 888s # 888s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 888s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 888s # 888s # 888s # /* D-Bus method call completion functions: */ 888s # void org_project_useful_interface_complete_useful_method ( 888s # OrgProjectUsefulInterface *object, 888s # GDBusMethodInvocation *invocation); 888s # 888s # 888s # 888s # /* D-Bus method calls: */ 888s # void org_project_useful_interface_call_useful_method ( 888s # OrgProjectUsefulInterface *proxy, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # 888s # gboolean org_project_useful_interface_call_useful_method_finish ( 888s # OrgProjectUsefulInterface *proxy, 888s # GAsyncResult *res, 888s # GError **error); 888s # 888s # gboolean org_project_useful_interface_call_useful_method_sync ( 888s # OrgProjectUsefulInterface *proxy, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # 888s # 888s # /* ---- */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 888s # 888s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 888s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 888s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 888s # 888s # struct _OrgProjectUsefulInterfaceProxy 888s # { 888s # /*< private >*/ 888s # GDBusProxy parent_instance; 888s # OrgProjectUsefulInterfaceProxyPrivate *priv; 888s # }; 888s # 888s # struct _OrgProjectUsefulInterfaceProxyClass 888s # { 888s # GDBusProxyClass parent_class; 888s # }; 888s # 888s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 888s # 888s # #if GLIB_CHECK_VERSION(2, 44, 0) 888s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 888s # #endif 888s # 888s # void org_project_useful_interface_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # void org_project_useful_interface_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # 888s # /* ---- */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 888s # 888s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 888s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 888s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 888s # 888s # struct _OrgProjectUsefulInterfaceSkeleton 888s # { 888s # /*< private >*/ 888s # GDBusInterfaceSkeleton parent_instance; 888s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 888s # }; 888s # 888s # struct _OrgProjectUsefulInterfaceSkeletonClass 888s # { 888s # GDBusInterfaceSkeletonClass parent_class; 888s # }; 888s # 888s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 888s # 888s # #if GLIB_CHECK_VERSION(2, 44, 0) 888s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 888s # #endif 888s # 888s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 888s # 888s # 888s # G_END_DECLS 888s # 888s # #endif /* __STDOUT__ */ 888s # /tmp/tmpxdh634on/tmp5owzjtez.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxdh634on/tmp5owzjtez.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifndef __STDOUT__ 888s # #define __STDOUT__ 888s # 888s # #include 888s # 888s # G_BEGIN_DECLS 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # /* Declarations for org.project.UsefulInterface */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 888s # 888s # struct _OrgProjectUsefulInterface; 888s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 888s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 888s # 888s # struct _OrgProjectUsefulInterfaceIface 888s # { 888s # GTypeInterface parent_iface; 888s # 888s # gboolean (*handle_useful_method) ( 888s # OrgProjectUsefulInterface *object, 888s # GDBusMethodInvocation *invocation); 888s # 888s # }; 888s # 888s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 888s # 888s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 888s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 888s # 888s # 888s # /* D-Bus method call completion functions: */ 888s # void org_project_useful_interface_complete_useful_method ( 888s # OrgProjectUsefulInterface *object, 888s # GDBusMethodInvocation *invocation); 888s # 888s # 888s # 888s # /* D-Bus method calls: */ 888s # void org_project_useful_interface_call_useful_method ( 888s # OrgProjectUsefulInterface *proxy, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # 888s # gboolean org_project_useful_interface_call_useful_method_finish ( 888s # OrgProjectUsefulInterface *proxy, 888s # GAsyncResult *res, 888s # GError **error); 888s # 888s # gboolean org_project_useful_interface_call_useful_method_sync ( 888s # OrgProjectUsefulInterface *proxy, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # 888s # 888s # /* ---- */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 888s # 888s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 888s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 888s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 888s # 888s # struct _OrgProjectUsefulInterfaceProxy 888s # { 888s # /*< private >*/ 888s # GDBusProxy parent_instance; 888s # OrgProjectUsefulInterfaceProxyPrivate *priv; 888s # }; 888s # 888s # struct _OrgProjectUsefulInterfaceProxyClass 888s # { 888s # GDBusProxyClass parent_class; 888s # }; 888s # 888s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 888s # 888s # #if GLIB_CHECK_VERSION(2, 44, 0) 888s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 888s # #endif 888s # 888s # void org_project_useful_interface_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # void org_project_useful_interface_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # 888s # /* ---- */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 888s # 888s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 888s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 888s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 888s # 888s # struct _OrgProjectUsefulInterfaceSkeleton 888s # { 888s # /*< private >*/ 888s # GDBusInterfaceSkeleton parent_instance; 888s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 888s # }; 888s # 888s # struct _OrgProjectUsefulInterfaceSkeletonClass 888s # { 888s # GDBusInterfaceSkeletonClass parent_class; 888s # }; 888s # 888s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 888s # 888s # #if GLIB_CHECK_VERSION(2, 44, 0) 888s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 888s # #endif 888s # 888s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 888s # 888s # 888s # G_END_DECLS 888s # 888s # #endif /* __STDOUT__ */ 888s # /tmp/tmpxdh634on/tmpacxqcwck.xml: 888s # 888s # 888s # 888s # 888s # 888s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxdh634on/tmpacxqcwck.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 888s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 888s # Output: /* 888s # * This file is generated by gdbus-codegen, do not modify it. 888s # * 888s # * The license of this code is the same as for the D-Bus interface description 888s # * it was derived from. Note that it links to GLib, so must comply with the 888s # * LGPL linking clauses. 888s # */ 888s # 888s # #ifndef __STDOUT__ 888s # #define __STDOUT__ 888s # 888s # #include 888s # 888s # G_BEGIN_DECLS 888s # 888s # 888s # /* ------------------------------------------------------------------------ */ 888s # /* Declarations for org.project.UsefulInterface */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 888s # 888s # struct _OrgProjectUsefulInterface; 888s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 888s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 888s # 888s # struct _OrgProjectUsefulInterfaceIface 888s # { 888s # GTypeInterface parent_iface; 888s # 888s # gboolean (*handle_useful_method) ( 888s # OrgProjectUsefulInterface *object, 888s # GDBusMethodInvocation *invocation); 888s # 888s # }; 888s # 888s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 888s # 888s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 888s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 888s # 888s # 888s # /* D-Bus method call completion functions: */ 888s # void org_project_useful_interface_complete_useful_method ( 888s # OrgProjectUsefulInterface *object, 888s # GDBusMethodInvocation *invocation); 888s # 888s # 888s # 888s # /* D-Bus method calls: */ 888s # void org_project_useful_interface_call_useful_method ( 888s # OrgProjectUsefulInterface *proxy, 888s # GDBusCallFlags call_flags, 888s # gint timeout_msec, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # 888s # gboolean org_project_useful_interface_call_useful_method_finish ( 888s # OrgProjectUsefulInterface *proxy, 888s # GAsyncResult *res, 888s # GError **error); 888s # 888s # gboolean org_project_useful_interface_call_useful_method_sync ( 888s # OrgProjectUsefulInterface *proxy, 888s # GDBusCallFlags call_flags, 888s # gint timeout_msec, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # 888s # 888s # /* ---- */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 888s # 888s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 888s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 888s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 888s # 888s # struct _OrgProjectUsefulInterfaceProxy 888s # { 888s # /*< private >*/ 888s # GDBusProxy parent_instance; 888s # OrgProjectUsefulInterfaceProxyPrivate *priv; 888s # }; 888s # 888s # struct _OrgProjectUsefulInterfaceProxyClass 888s # { 888s # GDBusProxyClass parent_class; 888s # }; 888s # 888s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 888s # 888s # #if GLIB_CHECK_VERSION(2, 44, 0) 888s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 888s # #endif 888s # 888s # void org_project_useful_interface_proxy_new ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 888s # GAsyncResult *res, 888s # GError **error); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 888s # GDBusConnection *connection, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # void org_project_useful_interface_proxy_new_for_bus ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GAsyncReadyCallback callback, 888s # gpointer user_data); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 888s # GAsyncResult *res, 888s # GError **error); 888s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 888s # GBusType bus_type, 888s # GDBusProxyFlags flags, 888s # const gchar *name, 888s # const gchar *object_path, 888s # GCancellable *cancellable, 888s # GError **error); 888s # 888s # 888s # /* ---- */ 888s # 888s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 888s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 888s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 888s # 888s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 888s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 888s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 888s # 888s # struct _OrgProjectUsefulInterfaceSkeleton 888s # { 888s # /*< private >*/ 888s # GDBusInterfaceSkeleton parent_instance; 888s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 888s # }; 888s # 888s # struct _OrgProjectUsefulInterfaceSkeletonClass 888s # { 888s # GDBusInterfaceSkeletonClass parent_class; 888s # }; 888s # 888s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 888s # 888s # #if GLIB_CHECK_VERSION(2, 44, 0) 888s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 888s # #endif 888s # 888s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 888s # 888s # 888s # G_END_DECLS 888s # 888s # #endif /* __STDOUT__ */ 889s ok 2 __main__.TestCodegen.test_dbus_types 889s # tmpdir: /tmp/tmpn71yabh3 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmpn71yabh3/tmpdle02acv.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpdle02acv.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpalftqojh.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpalftqojh.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpdeo3jl58.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpdeo3jl58.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpa6wvp10e.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpa6wvp10e.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmp53h7jimn.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmp53h7jimn.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpmfx7fx5j.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpmfx7fx5j.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpx_wut9q4.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpx_wut9q4.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpbxl207_e.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpbxl207_e.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpr9l2wl14.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpr9l2wl14.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmpwd0vrxjm.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmpwd0vrxjm.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmptu569od4.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmptu569od4.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmp1hfvqmfu.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmp1hfvqmfu.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmp053pfmts.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmp053pfmts.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # /tmp/tmpn71yabh3/tmp6859fupj.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmp6859fupj.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface GoodTypes 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:GoodTypes 889s # * @title: GoodTypes 889s # * @short_description: Generated C code for the GoodTypes D-Bus interface 889s # * 889s # * This section contains code for working with the GoodTypes D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for GoodTypes ---- */ 889s # 889s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 889s # { 889s # { 889s # -1, 889s # (gchar *) "GoodPropertyType", 889s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 889s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 889s # NULL 889s # }, 889s # "good-property-type", 889s # FALSE, 889s # TRUE 889s # }; 889s # 889s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 889s # { 889s # &_good_types_property_info_good_property_type.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "GoodTypes", 889s # NULL, 889s # NULL, 889s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 889s # NULL 889s # }, 889s # "good-types", 889s # }; 889s # 889s # 889s # /** 889s # * good_types_interface_info: 889s # * 889s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # good_types_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * good_types_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 889s # { 889s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # 889s # /** 889s # * GoodTypes: 889s # * 889s # * Abstract interface type for the D-Bus interface GoodTypes. 889s # */ 889s # 889s # /** 889s # * GoodTypesIface: 889s # * @parent_iface: The parent interface. 889s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 889s # * 889s # * Virtual table for the D-Bus interface GoodTypes. 889s # */ 889s # 889s # typedef GoodTypesIface GoodTypesInterface; 889s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 889s # 889s # static void 889s # good_types_default_init (GoodTypesIface *iface) 889s # { 889s # /* GObject properties for D-Bus properties: */ 889s # /** 889s # * GoodTypes:good-property-type: 889s # * 889s # * Represents the D-Bus property "GoodPropertyType". 889s # * 889s # * 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. 889s # */ 889s # g_object_interface_install_property (iface, 889s # 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)); 889s # } 889s # 889s # /** 889s # * good_types_get_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * 889s # * Gets the value of the "GoodPropertyType" D-Bus property. 889s # * 889s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # GVariant * 889s # good_types_get_good_property_type (GoodTypes *object) 889s # { 889s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 889s # 889s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 889s # } 889s # 889s # /** 889s # * good_types_dup_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * 889s # * Gets a copy of the "GoodPropertyType" D-Bus property. 889s # * 889s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 889s # * 889s # * 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(). 889s # */ 889s # GVariant * 889s # good_types_dup_good_property_type (GoodTypes *object) 889s # { 889s # GVariant *value; 889s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 889s # return value; 889s # } 889s # 889s # /** 889s # * good_types_set_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * @value: The value to set. 889s # * 889s # * Sets the "GoodPropertyType" D-Bus property to @value. 889s # * 889s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 889s # */ 889s # void 889s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 889s # { 889s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * GoodTypesProxy: 889s # * 889s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * GoodTypesProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for GoodTypesProxy. 889s # */ 889s # 889s # struct _GoodTypesProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (GoodTypesProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # good_types_proxy_finalize (GObject *object) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # good_types_proxy_get_property (GObject *object, 889s # guint prop_id, 889s # GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GVariant *variant; 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 889s # if (info->use_gvariant) 889s # { 889s # g_value_set_variant (value, variant); 889s # } 889s # else 889s # { 889s # if (variant != NULL) 889s # g_dbus_gvariant_to_gvalue (variant, value); 889s # } 889s # if (variant != NULL) 889s # g_variant_unref (variant); 889s # } 889s # 889s # static void 889s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 889s # GAsyncResult *res, 889s # gpointer user_data) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info = user_data; 889s # GError *error; 889s # GVariant *_ret; 889s # error = NULL; 889s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 889s # if (!_ret) 889s # { 889s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 889s # info->parent_struct.name, 889s # error->message, g_quark_to_string (error->domain), error->code); 889s # g_error_free (error); 889s # } 889s # else 889s # { 889s # g_variant_unref (_ret); 889s # } 889s # } 889s # 889s # static void 889s # good_types_proxy_set_property (GObject *object, 889s # guint prop_id, 889s # const GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GVariant *variant; 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_dbus_proxy_call (G_DBUS_PROXY (object), 889s # "org.freedesktop.DBus.Properties.Set", 889s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 889s # g_variant_unref (variant); 889s # } 889s # 889s # static void 889s # good_types_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static GVariant * 889s # good_types_proxy_get_good_property_type (GoodTypes *object) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 889s # GVariant *variant; 889s # GVariant *value = NULL; 889s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 889s # value = variant; 889s # if (variant != NULL) 889s # g_variant_unref (variant); 889s # return value; 889s # } 889s # 889s # static void 889s # good_types_proxy_init (GoodTypesProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = good_types_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 889s # } 889s # 889s # static void 889s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = good_types_proxy_finalize; 889s # gobject_class->get_property = good_types_proxy_get_property; 889s # gobject_class->set_property = good_types_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = good_types_proxy_g_signal; 889s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 889s # 889s # good_types_override_properties (gobject_class, 1); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # good_types_proxy_iface_init (GoodTypesIface *iface) 889s # { 889s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # good_types_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with good_types_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See good_types_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * good_types_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # good_types_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with good_types_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * GoodTypesSkeleton: 889s # * 889s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * GoodTypesSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for GoodTypesSkeleton. 889s # */ 889s # 889s # struct _GoodTypesSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _good_types_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _good_types_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _good_types_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 889s # { 889s # _good_types_skeleton_handle_method_call, 889s # _good_types_skeleton_handle_get_property, 889s # _good_types_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return good_types_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # if (_good_types_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static gboolean _good_types_emit_changed (gpointer user_data); 889s # 889s # static void 889s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 889s # gboolean emit_changed = FALSE; 889s # 889s # g_mutex_lock (&skeleton->priv->lock); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # { 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # skeleton->priv->changed_properties_idle_source = NULL; 889s # emit_changed = TRUE; 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # 889s # if (emit_changed) 889s # _good_types_emit_changed (skeleton); 889s # } 889s # 889s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (GoodTypesSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # good_types_skeleton_finalize (GObject *object) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # guint n; 889s # for (n = 0; n < 1; n++) 889s # g_value_unset (&skeleton->priv->properties[n]); 889s # g_free (skeleton->priv->properties); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # good_types_skeleton_get_property (GObject *object, 889s # guint prop_id, 889s # GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # } 889s # 889s # static gboolean 889s # _good_types_emit_changed (gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GList *l; 889s # GVariantBuilder builder; 889s # GVariantBuilder invalidated_builder; 889s # guint num_changes; 889s # 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 889s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 889s # { 889s # ChangedProperty *cp = l->data; 889s # GVariant *variant; 889s # const GValue *cur_value; 889s # 889s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 889s # if (!_g_value_equal (cur_value, &cp->orig_value)) 889s # { 889s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 889s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 889s # g_variant_unref (variant); 889s # num_changes++; 889s # } 889s # } 889s # if (num_changes > 0) 889s # { 889s # GList *connections, *ll; 889s # GVariant *signal_variant; 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 889s # &builder, &invalidated_builder)); 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # for (ll = connections; ll != NULL; ll = ll->next) 889s # { 889s # GDBusConnection *connection = ll->data; 889s # 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 889s # "org.freedesktop.DBus.Properties", 889s # "PropertiesChanged", 889s # signal_variant, 889s # NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # else 889s # { 889s # g_variant_builder_clear (&builder); 889s # g_variant_builder_clear (&invalidated_builder); 889s # } 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # skeleton->priv->changed_properties = NULL; 889s # skeleton->priv->changed_properties_idle_source = NULL; 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # return FALSE; 889s # } 889s # 889s # static void 889s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 889s # { 889s # ChangedProperty *cp; 889s # GList *l; 889s # cp = NULL; 889s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 889s # { 889s # ChangedProperty *i_cp = l->data; 889s # if (i_cp->info == info) 889s # { 889s # cp = i_cp; 889s # break; 889s # } 889s # } 889s # if (cp == NULL) 889s # { 889s # cp = g_new0 (ChangedProperty, 1); 889s # cp->prop_id = prop_id; 889s # cp->info = info; 889s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 889s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 889s # g_value_copy (orig_value, &cp->orig_value); 889s # } 889s # } 889s # 889s # static void 889s # good_types_skeleton_notify (GObject *object, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_mutex_lock (&skeleton->priv->lock); 889s # if (skeleton->priv->changed_properties != NULL && 889s # skeleton->priv->changed_properties_idle_source == NULL) 889s # { 889s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 889s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 889s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 889s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 889s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 889s # g_source_unref (skeleton->priv->changed_properties_idle_source); 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # } 889s # 889s # static void 889s # good_types_skeleton_set_property (GObject *object, 889s # guint prop_id, 889s # const GValue *value, 889s # GParamSpec *pspec) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_object_freeze_notify (object); 889s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 889s # { 889s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 889s # info->emits_changed_signal) 889s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 889s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 889s # g_object_notify_by_pspec (object, pspec); 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # g_object_thaw_notify (object); 889s # } 889s # 889s # static void 889s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # skeleton->priv->properties = g_new0 (GValue, 1); 889s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 889s # } 889s # 889s # static GVariant * 889s # good_types_skeleton_get_good_property_type (GoodTypes *object) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # GVariant *value; 889s # g_mutex_lock (&skeleton->priv->lock); 889s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # return value; 889s # } 889s # 889s # static void 889s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = good_types_skeleton_finalize; 889s # gobject_class->get_property = good_types_skeleton_get_property; 889s # gobject_class->set_property = good_types_skeleton_set_property; 889s # gobject_class->notify = good_types_skeleton_notify; 889s # 889s # 889s # good_types_override_properties (gobject_class, 1); 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # good_types_skeleton_iface_init (GoodTypesIface *iface) 889s # { 889s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 889s # } 889s # 889s # /** 889s # * good_types_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface GoodTypes. 889s # * 889s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 889s # */ 889s # GoodTypes * 889s # good_types_skeleton_new (void) 889s # { 889s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 889s # } 889s # /tmp/tmpn71yabh3/tmp5hcxqken.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmp5hcxqken.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface GoodTypes 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:GoodTypes 889s # * @title: GoodTypes 889s # * @short_description: Generated C code for the GoodTypes D-Bus interface 889s # * 889s # * This section contains code for working with the GoodTypes D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for GoodTypes ---- */ 889s # 889s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 889s # { 889s # { 889s # -1, 889s # (gchar *) "GoodPropertyType", 889s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 889s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 889s # NULL 889s # }, 889s # "good-property-type", 889s # FALSE, 889s # TRUE 889s # }; 889s # 889s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 889s # { 889s # &_good_types_property_info_good_property_type.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "GoodTypes", 889s # NULL, 889s # NULL, 889s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 889s # NULL 889s # }, 889s # "good-types", 889s # }; 889s # 889s # 889s # /** 889s # * good_types_interface_info: 889s # * 889s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # good_types_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * good_types_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 889s # { 889s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # 889s # /** 889s # * GoodTypes: 889s # * 889s # * Abstract interface type for the D-Bus interface GoodTypes. 889s # */ 889s # 889s # /** 889s # * GoodTypesIface: 889s # * @parent_iface: The parent interface. 889s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 889s # * 889s # * Virtual table for the D-Bus interface GoodTypes. 889s # */ 889s # 889s # typedef GoodTypesIface GoodTypesInterface; 889s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 889s # 889s # static void 889s # good_types_default_init (GoodTypesIface *iface) 889s # { 889s # /* GObject properties for D-Bus properties: */ 889s # /** 889s # * GoodTypes:good-property-type: 889s # * 889s # * Represents the D-Bus property "GoodPropertyType". 889s # * 889s # * 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. 889s # */ 889s # g_object_interface_install_property (iface, 889s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 889s # } 889s # 889s # /** 889s # * good_types_get_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * 889s # * Gets the value of the "GoodPropertyType" D-Bus property. 889s # * 889s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # GVariant * 889s # good_types_get_good_property_type (GoodTypes *object) 889s # { 889s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 889s # 889s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 889s # } 889s # 889s # /** 889s # * good_types_dup_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * 889s # * Gets a copy of the "GoodPropertyType" D-Bus property. 889s # * 889s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 889s # * 889s # * 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(). 889s # */ 889s # GVariant * 889s # good_types_dup_good_property_type (GoodTypes *object) 889s # { 889s # GVariant *value; 889s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 889s # return value; 889s # } 889s # 889s # /** 889s # * good_types_set_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * @value: The value to set. 889s # * 889s # * Sets the "GoodPropertyType" D-Bus property to @value. 889s # * 889s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 889s # */ 889s # void 889s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 889s # { 889s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * GoodTypesProxy: 889s # * 889s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * GoodTypesProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for GoodTypesProxy. 889s # */ 889s # 889s # struct _GoodTypesProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (GoodTypesProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # good_types_proxy_finalize (GObject *object) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # good_types_proxy_get_property (GObject *object, 889s # guint prop_id, 889s # GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GVariant *variant; 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 889s # if (info->use_gvariant) 889s # { 889s # g_value_set_variant (value, variant); 889s # } 889s # else 889s # { 889s # if (variant != NULL) 889s # g_dbus_gvariant_to_gvalue (variant, value); 889s # } 889s # if (variant != NULL) 889s # g_variant_unref (variant); 889s # } 889s # 889s # static void 889s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 889s # GAsyncResult *res, 889s # gpointer user_data) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info = user_data; 889s # GError *error; 889s # GVariant *_ret; 889s # error = NULL; 889s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 889s # if (!_ret) 889s # { 889s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 889s # info->parent_struct.name, 889s # error->message, g_quark_to_string (error->domain), error->code); 889s # g_error_free (error); 889s # } 889s # else 889s # { 889s # g_variant_unref (_ret); 889s # } 889s # } 889s # 889s # static void 889s # good_types_proxy_set_property (GObject *object, 889s # guint prop_id, 889s # const GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GVariant *variant; 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_dbus_proxy_call (G_DBUS_PROXY (object), 889s # "org.freedesktop.DBus.Properties.Set", 889s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 889s # g_variant_unref (variant); 889s # } 889s # 889s # static void 889s # good_types_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static GVariant * 889s # good_types_proxy_get_good_property_type (GoodTypes *object) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 889s # GVariant *variant; 889s # GVariant *value = NULL; 889s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 889s # value = variant; 889s # if (variant != NULL) 889s # g_variant_unref (variant); 889s # return value; 889s # } 889s # 889s # static void 889s # good_types_proxy_init (GoodTypesProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = good_types_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 889s # } 889s # 889s # static void 889s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = good_types_proxy_finalize; 889s # gobject_class->get_property = good_types_proxy_get_property; 889s # gobject_class->set_property = good_types_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = good_types_proxy_g_signal; 889s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 889s # 889s # good_types_override_properties (gobject_class, 1); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # good_types_proxy_iface_init (GoodTypesIface *iface) 889s # { 889s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # good_types_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with good_types_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See good_types_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * good_types_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # good_types_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with good_types_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * GoodTypesSkeleton: 889s # * 889s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * GoodTypesSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for GoodTypesSkeleton. 889s # */ 889s # 889s # struct _GoodTypesSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _good_types_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _good_types_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _good_types_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 889s # { 889s # _good_types_skeleton_handle_method_call, 889s # _good_types_skeleton_handle_get_property, 889s # _good_types_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return good_types_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # if (_good_types_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static gboolean _good_types_emit_changed (gpointer user_data); 889s # 889s # static void 889s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 889s # gboolean emit_changed = FALSE; 889s # 889s # g_mutex_lock (&skeleton->priv->lock); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # { 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # skeleton->priv->changed_properties_idle_source = NULL; 889s # emit_changed = TRUE; 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # 889s # if (emit_changed) 889s # _good_types_emit_changed (skeleton); 889s # } 889s # 889s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (GoodTypesSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # good_types_skeleton_finalize (GObject *object) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # guint n; 889s # for (n = 0; n < 1; n++) 889s # g_value_unset (&skeleton->priv->properties[n]); 889s # g_free (skeleton->priv->properties); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # good_types_skeleton_get_property (GObject *object, 889s # guint prop_id, 889s # GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # } 889s # 889s # static gboolean 889s # _good_types_emit_changed (gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GList *l; 889s # GVariantBuilder builder; 889s # GVariantBuilder invalidated_builder; 889s # guint num_changes; 889s # 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 889s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 889s # { 889s # ChangedProperty *cp = l->data; 889s # GVariant *variant; 889s # const GValue *cur_value; 889s # 889s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 889s # if (!_g_value_equal (cur_value, &cp->orig_value)) 889s # { 889s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 889s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 889s # g_variant_unref (variant); 889s # num_changes++; 889s # } 889s # } 889s # if (num_changes > 0) 889s # { 889s # GList *connections, *ll; 889s # GVariant *signal_variant; 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 889s # &builder, &invalidated_builder)); 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # for (ll = connections; ll != NULL; ll = ll->next) 889s # { 889s # GDBusConnection *connection = ll->data; 889s # 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 889s # "org.freedesktop.DBus.Properties", 889s # "PropertiesChanged", 889s # signal_variant, 889s # NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # else 889s # { 889s # g_variant_builder_clear (&builder); 889s # g_variant_builder_clear (&invalidated_builder); 889s # } 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # skeleton->priv->changed_properties = NULL; 889s # skeleton->priv->changed_properties_idle_source = NULL; 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # return FALSE; 889s # } 889s # 889s # static void 889s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 889s # { 889s # ChangedProperty *cp; 889s # GList *l; 889s # cp = NULL; 889s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 889s # { 889s # ChangedProperty *i_cp = l->data; 889s # if (i_cp->info == info) 889s # { 889s # cp = i_cp; 889s # break; 889s # } 889s # } 889s # if (cp == NULL) 889s # { 889s # cp = g_new0 (ChangedProperty, 1); 889s # cp->prop_id = prop_id; 889s # cp->info = info; 889s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 889s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 889s # g_value_copy (orig_value, &cp->orig_value); 889s # } 889s # } 889s # 889s # static void 889s # good_types_skeleton_notify (GObject *object, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_mutex_lock (&skeleton->priv->lock); 889s # if (skeleton->priv->changed_properties != NULL && 889s # skeleton->priv->changed_properties_idle_source == NULL) 889s # { 889s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 889s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 889s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 889s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 889s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 889s # g_source_unref (skeleton->priv->changed_properties_idle_source); 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # } 889s # 889s # static void 889s # good_types_skeleton_set_property (GObject *object, 889s # guint prop_id, 889s # const GValue *value, 889s # GParamSpec *pspec) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_object_freeze_notify (object); 889s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 889s # { 889s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 889s # info->emits_changed_signal) 889s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 889s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 889s # g_object_notify_by_pspec (object, pspec); 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # g_object_thaw_notify (object); 889s # } 889s # 889s # static void 889s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # skeleton->priv->properties = g_new0 (GValue, 1); 889s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 889s # } 889s # 889s # static GVariant * 889s # good_types_skeleton_get_good_property_type (GoodTypes *object) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # GVariant *value; 889s # g_mutex_lock (&skeleton->priv->lock); 889s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # return value; 889s # } 889s # 889s # static void 889s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = good_types_skeleton_finalize; 889s # gobject_class->get_property = good_types_skeleton_get_property; 889s # gobject_class->set_property = good_types_skeleton_set_property; 889s # gobject_class->notify = good_types_skeleton_notify; 889s # 889s # 889s # good_types_override_properties (gobject_class, 1); 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # good_types_skeleton_iface_init (GoodTypesIface *iface) 889s # { 889s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 889s # } 889s # 889s # /** 889s # * good_types_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface GoodTypes. 889s # * 889s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 889s # */ 889s # GoodTypes * 889s # good_types_skeleton_new (void) 889s # { 889s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 889s # } 889s # /tmp/tmpn71yabh3/tmp88ont2fu.xml: 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn71yabh3/tmp88ont2fu.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface GoodTypes 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:GoodTypes 889s # * @title: GoodTypes 889s # * @short_description: Generated C code for the GoodTypes D-Bus interface 889s # * 889s # * This section contains code for working with the GoodTypes D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for GoodTypes ---- */ 889s # 889s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 889s # { 889s # { 889s # -1, 889s # (gchar *) "GoodPropertyType", 889s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 889s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 889s # NULL 889s # }, 889s # "good-property-type", 889s # FALSE, 889s # TRUE 889s # }; 889s # 889s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 889s # { 889s # &_good_types_property_info_good_property_type.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "GoodTypes", 889s # NULL, 889s # NULL, 889s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 889s # NULL 889s # }, 889s # "good-types", 889s # }; 889s # 889s # 889s # /** 889s # * good_types_interface_info: 889s # * 889s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # good_types_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * good_types_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 889s # { 889s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # 889s # /** 889s # * GoodTypes: 889s # * 889s # * Abstract interface type for the D-Bus interface GoodTypes. 889s # */ 889s # 889s # /** 889s # * GoodTypesIface: 889s # * @parent_iface: The parent interface. 889s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 889s # * 889s # * Virtual table for the D-Bus interface GoodTypes. 889s # */ 889s # 889s # typedef GoodTypesIface GoodTypesInterface; 889s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 889s # 889s # static void 889s # good_types_default_init (GoodTypesIface *iface) 889s # { 889s # /* GObject properties for D-Bus properties: */ 889s # /** 889s # * GoodTypes:good-property-type: 889s # * 889s # * Represents the D-Bus property "GoodPropertyType". 889s # * 889s # * 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. 889s # */ 889s # g_object_interface_install_property (iface, 889s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 889s # } 889s # 889s # /** 889s # * good_types_get_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * 889s # * Gets the value of the "GoodPropertyType" D-Bus property. 889s # * 889s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # GVariant * 889s # good_types_get_good_property_type (GoodTypes *object) 889s # { 889s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 889s # 889s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 889s # } 889s # 889s # /** 889s # * good_types_dup_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * 889s # * Gets a copy of the "GoodPropertyType" D-Bus property. 889s # * 889s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 889s # * 889s # * 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(). 889s # */ 889s # GVariant * 889s # good_types_dup_good_property_type (GoodTypes *object) 889s # { 889s # GVariant *value; 889s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 889s # return value; 889s # } 889s # 889s # /** 889s # * good_types_set_good_property_type: (skip) 889s # * @object: A GoodTypes. 889s # * @value: The value to set. 889s # * 889s # * Sets the "GoodPropertyType" D-Bus property to @value. 889s # * 889s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 889s # */ 889s # void 889s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 889s # { 889s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * GoodTypesProxy: 889s # * 889s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * GoodTypesProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for GoodTypesProxy. 889s # */ 889s # 889s # struct _GoodTypesProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (GoodTypesProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # good_types_proxy_finalize (GObject *object) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # good_types_proxy_get_property (GObject *object, 889s # guint prop_id, 889s # GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GVariant *variant; 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 889s # if (info->use_gvariant) 889s # { 889s # g_value_set_variant (value, variant); 889s # } 889s # else 889s # { 889s # if (variant != NULL) 889s # g_dbus_gvariant_to_gvalue (variant, value); 889s # } 889s # if (variant != NULL) 889s # g_variant_unref (variant); 889s # } 889s # 889s # static void 889s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 889s # GAsyncResult *res, 889s # gpointer user_data) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info = user_data; 889s # GError *error; 889s # GVariant *_ret; 889s # error = NULL; 889s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 889s # if (!_ret) 889s # { 889s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 889s # info->parent_struct.name, 889s # error->message, g_quark_to_string (error->domain), error->code); 889s # g_error_free (error); 889s # } 889s # else 889s # { 889s # g_variant_unref (_ret); 889s # } 889s # } 889s # 889s # static void 889s # good_types_proxy_set_property (GObject *object, 889s # guint prop_id, 889s # const GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GVariant *variant; 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_dbus_proxy_call (G_DBUS_PROXY (object), 889s # "org.freedesktop.DBus.Properties.Set", 889s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 889s # g_variant_unref (variant); 889s # } 889s # 889s # static void 889s # good_types_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static GVariant * 889s # good_types_proxy_get_good_property_type (GoodTypes *object) 889s # { 889s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 889s # GVariant *variant; 889s # GVariant *value = NULL; 889s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 889s # value = variant; 889s # if (variant != NULL) 889s # g_variant_unref (variant); 889s # return value; 889s # } 889s # 889s # static void 889s # good_types_proxy_init (GoodTypesProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = good_types_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 889s # } 889s # 889s # static void 889s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = good_types_proxy_finalize; 889s # gobject_class->get_property = good_types_proxy_get_property; 889s # gobject_class->set_property = good_types_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = good_types_proxy_g_signal; 889s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 889s # 889s # good_types_override_properties (gobject_class, 1); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # good_types_proxy_iface_init (GoodTypesIface *iface) 889s # { 889s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # good_types_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with good_types_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See good_types_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * good_types_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # good_types_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with good_types_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * good_types_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # GoodTypes * 889s # good_types_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return GOOD_TYPES (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * GoodTypesSkeleton: 889s # * 889s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * GoodTypesSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for GoodTypesSkeleton. 889s # */ 889s # 889s # struct _GoodTypesSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _good_types_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _good_types_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _good_types_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 889s # { 889s # _good_types_skeleton_handle_method_call, 889s # _good_types_skeleton_handle_get_property, 889s # _good_types_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return good_types_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # if (_good_types_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static gboolean _good_types_emit_changed (gpointer user_data); 889s # 889s # static void 889s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 889s # gboolean emit_changed = FALSE; 889s # 889s # g_mutex_lock (&skeleton->priv->lock); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # { 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # skeleton->priv->changed_properties_idle_source = NULL; 889s # emit_changed = TRUE; 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # 889s # if (emit_changed) 889s # _good_types_emit_changed (skeleton); 889s # } 889s # 889s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (GoodTypesSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # good_types_skeleton_finalize (GObject *object) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # guint n; 889s # for (n = 0; n < 1; n++) 889s # g_value_unset (&skeleton->priv->properties[n]); 889s # g_free (skeleton->priv->properties); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # good_types_skeleton_get_property (GObject *object, 889s # guint prop_id, 889s # GValue *value, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # } 889s # 889s # static gboolean 889s # _good_types_emit_changed (gpointer user_data) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 889s # GList *l; 889s # GVariantBuilder builder; 889s # GVariantBuilder invalidated_builder; 889s # guint num_changes; 889s # 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 889s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 889s # { 889s # ChangedProperty *cp = l->data; 889s # GVariant *variant; 889s # const GValue *cur_value; 889s # 889s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 889s # if (!_g_value_equal (cur_value, &cp->orig_value)) 889s # { 889s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 889s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 889s # g_variant_unref (variant); 889s # num_changes++; 889s # } 889s # } 889s # if (num_changes > 0) 889s # { 889s # GList *connections, *ll; 889s # GVariant *signal_variant; 889s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 889s # &builder, &invalidated_builder)); 889s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 889s # for (ll = connections; ll != NULL; ll = ll->next) 889s # { 889s # GDBusConnection *connection = ll->data; 889s # 889s # g_dbus_connection_emit_signal (connection, 889s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 889s # "org.freedesktop.DBus.Properties", 889s # "PropertiesChanged", 889s # signal_variant, 889s # NULL); 889s # } 889s # g_variant_unref (signal_variant); 889s # g_list_free_full (connections, g_object_unref); 889s # } 889s # else 889s # { 889s # g_variant_builder_clear (&builder); 889s # g_variant_builder_clear (&invalidated_builder); 889s # } 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # skeleton->priv->changed_properties = NULL; 889s # skeleton->priv->changed_properties_idle_source = NULL; 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # return FALSE; 889s # } 889s # 889s # static void 889s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 889s # { 889s # ChangedProperty *cp; 889s # GList *l; 889s # cp = NULL; 889s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 889s # { 889s # ChangedProperty *i_cp = l->data; 889s # if (i_cp->info == info) 889s # { 889s # cp = i_cp; 889s # break; 889s # } 889s # } 889s # if (cp == NULL) 889s # { 889s # cp = g_new0 (ChangedProperty, 1); 889s # cp->prop_id = prop_id; 889s # cp->info = info; 889s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 889s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 889s # g_value_copy (orig_value, &cp->orig_value); 889s # } 889s # } 889s # 889s # static void 889s # good_types_skeleton_notify (GObject *object, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_mutex_lock (&skeleton->priv->lock); 889s # if (skeleton->priv->changed_properties != NULL && 889s # skeleton->priv->changed_properties_idle_source == NULL) 889s # { 889s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 889s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 889s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 889s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 889s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 889s # g_source_unref (skeleton->priv->changed_properties_idle_source); 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # } 889s # 889s # static void 889s # good_types_skeleton_set_property (GObject *object, 889s # guint prop_id, 889s # const GValue *value, 889s # GParamSpec *pspec) 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # g_assert (prop_id != 0 && prop_id - 1 < 1); 889s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 889s # g_mutex_lock (&skeleton->priv->lock); 889s # g_object_freeze_notify (object); 889s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 889s # { 889s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 889s # info->emits_changed_signal) 889s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 889s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 889s # g_object_notify_by_pspec (object, pspec); 889s # } 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # g_object_thaw_notify (object); 889s # } 889s # 889s # static void 889s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # skeleton->priv->properties = g_new0 (GValue, 1); 889s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 889s # } 889s # 889s # static GVariant * 889s # good_types_skeleton_get_good_property_type (GoodTypes *object) 889s # { 889s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 889s # GVariant *value; 889s # g_mutex_lock (&skeleton->priv->lock); 889s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 889s # g_mutex_unlock (&skeleton->priv->lock); 889s # return value; 889s # } 889s # 889s # static void 889s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = good_types_skeleton_finalize; 889s # gobject_class->get_property = good_types_skeleton_get_property; 889s # gobject_class->set_property = good_types_skeleton_set_property; 889s # gobject_class->notify = good_types_skeleton_notify; 889s # 889s # 889s # good_types_override_properties (gobject_class, 1); 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # good_types_skeleton_iface_init (GoodTypesIface *iface) 889s # { 889s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 889s # } 889s # 889s # /** 889s # * good_types_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface GoodTypes. 889s # * 889s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 889s # */ 889s # GoodTypes * 889s # good_types_skeleton_new (void) 889s # { 889s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 889s # } 889s ok 3 __main__.TestCodegen.test_empty_interface_body 889s # tmpdir: /tmp/tmpdgzfepeo 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmpdgzfepeo/tmpl1juo4n3.xml: 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdgzfepeo/tmpl1juo4n3.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s ok 4 __main__.TestCodegen.test_empty_interface_header 889s # tmpdir: /tmp/tmpmfpu90hu 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmpmfpu90hu/tmpeoo05pqn.xml: 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmfpu90hu/tmpeoo05pqn.xml', '--output', '-', '--header'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifndef __STDOUT__ 889s # #define __STDOUT__ 889s # 889s # #include 889s # 889s # G_BEGIN_DECLS 889s # 889s # 889s # G_END_DECLS 889s # 889s # #endif /* __STDOUT__ */ 889s ok 5 __main__.TestCodegen.test_empty_interface_info_body 889s # tmpdir: /tmp/tmpmia4ao8e 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmpmia4ao8e/tmp7vmery21.xml: 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmia4ao8e/tmp7vmery21.xml', '--output', '-', '--interface-info-body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s ok 6 __main__.TestCodegen.test_empty_interface_info_header 889s # tmpdir: /tmp/tmp5gunauz7 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmp5gunauz7/tmpxflu3g5a.xml: 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5gunauz7/tmpxflu3g5a.xml', '--output', '-', '--interface-info-header'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifndef __STDOUT__ 889s # #define __STDOUT__ 889s # 889s # #include 889s # 889s # G_BEGIN_DECLS 889s # 889s # 889s # G_END_DECLS 889s # 889s # #endif /* __STDOUT__ */ 889s ok 7 __main__.TestCodegen.test_generate_docbook 889s # tmpdir: /tmp/tmp3svy0x83 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmp3svy0x83/tmp1dz4xnyw.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3svy0x83/tmp1dz4xnyw.xml', '--generate-docbook', 'test'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: 889s ok 8 __main__.TestCodegen.test_generate_md 889s # tmpdir: /tmp/tmphacuz48u 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmphacuz48u/tmp3kpx3e9o.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphacuz48u/tmp3kpx3e9o.xml', '--generate-md', 'test'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: 889s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 889s # tmpdir: /tmp/tmp_vlot92w 889s # codegen: /usr/bin/gdbus-codegen 889s # /tmp/tmp_vlot92w/tmpa6dkqs5b.xml: 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # 889s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_vlot92w/tmpa6dkqs5b.xml', '--output', '-', '--body'] 889s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 889s # Output: /* 889s # * This file is generated by gdbus-codegen, do not modify it. 889s # * 889s # * The license of this code is the same as for the D-Bus interface description 889s # * it was derived from. Note that it links to GLib, so must comply with the 889s # * LGPL linking clauses. 889s # */ 889s # 889s # #ifdef HAVE_CONFIG_H 889s # # include "config.h" 889s # #endif 889s # 889s # #include 889s # #ifdef G_OS_UNIX 889s # # include 889s # #endif 889s # 889s # #ifdef G_ENABLE_DEBUG 889s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 889s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 889s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 889s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 889s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 889s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 889s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 889s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 889s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 889s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 889s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 889s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 889s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 889s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 889s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 889s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 889s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 889s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 889s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 889s # #else /* !G_ENABLE_DEBUG */ 889s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 889s # * Do not access GValues directly in your code. Instead, use the 889s # * g_value_get_*() functions 889s # */ 889s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 889s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 889s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 889s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 889s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 889s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 889s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 889s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 889s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 889s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 889s # #endif /* !G_ENABLE_DEBUG */ 889s # 889s # typedef struct 889s # { 889s # GDBusArgInfo parent_struct; 889s # gboolean use_gvariant; 889s # } _ExtendedGDBusArgInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusMethodInfo parent_struct; 889s # const gchar *signal_name; 889s # gboolean pass_fdlist; 889s # } _ExtendedGDBusMethodInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusSignalInfo parent_struct; 889s # const gchar *signal_name; 889s # } _ExtendedGDBusSignalInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusPropertyInfo parent_struct; 889s # const gchar *hyphen_name; 889s # guint use_gvariant : 1; 889s # guint emits_changed_signal : 1; 889s # } _ExtendedGDBusPropertyInfo; 889s # 889s # typedef struct 889s # { 889s # GDBusInterfaceInfo parent_struct; 889s # const gchar *hyphen_name; 889s # } _ExtendedGDBusInterfaceInfo; 889s # 889s # typedef struct 889s # { 889s # const _ExtendedGDBusPropertyInfo *info; 889s # guint prop_id; 889s # GValue orig_value; /* the value before the change */ 889s # } ChangedProperty; 889s # 889s # static void 889s # _changed_property_free (ChangedProperty *data) 889s # { 889s # g_value_unset (&data->orig_value); 889s # g_free (data); 889s # } 889s # 889s # static gboolean 889s # _g_strv_equal0 (gchar **a, gchar **b) 889s # { 889s # gboolean ret = FALSE; 889s # guint n; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # if (g_strv_length (a) != g_strv_length (b)) 889s # goto out; 889s # for (n = 0; a[n] != NULL; n++) 889s # if (g_strcmp0 (a[n], b[n]) != 0) 889s # goto out; 889s # ret = TRUE; 889s # out: 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _g_variant_equal0 (GVariant *a, GVariant *b) 889s # { 889s # gboolean ret = FALSE; 889s # if (a == NULL && b == NULL) 889s # { 889s # ret = TRUE; 889s # goto out; 889s # } 889s # if (a == NULL || b == NULL) 889s # goto out; 889s # ret = g_variant_equal (a, b); 889s # out: 889s # return ret; 889s # } 889s # 889s # G_GNUC_UNUSED static gboolean 889s # _g_value_equal (const GValue *a, const GValue *b) 889s # { 889s # gboolean ret = FALSE; 889s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 889s # switch (G_VALUE_TYPE (a)) 889s # { 889s # case G_TYPE_BOOLEAN: 889s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 889s # break; 889s # case G_TYPE_UCHAR: 889s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 889s # break; 889s # case G_TYPE_INT: 889s # ret = (g_value_get_int (a) == g_value_get_int (b)); 889s # break; 889s # case G_TYPE_UINT: 889s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 889s # break; 889s # case G_TYPE_INT64: 889s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 889s # break; 889s # case G_TYPE_UINT64: 889s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 889s # break; 889s # case G_TYPE_DOUBLE: 889s # { 889s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 889s # gdouble da = g_value_get_double (a); 889s # gdouble db = g_value_get_double (b); 889s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 889s # } 889s # break; 889s # case G_TYPE_STRING: 889s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 889s # break; 889s # case G_TYPE_VARIANT: 889s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 889s # break; 889s # default: 889s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 889s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 889s # else 889s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 889s # break; 889s # } 889s # return ret; 889s # } 889s # 889s # static void 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint G_GNUC_UNUSED, 889s # void *marshal_data) 889s # { 889s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (void *data1, 889s # GDBusMethodInvocation *arg_method_invocation, 889s # void *data2); 889s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 889s # GCClosure *cc = (GCClosure*) closure; 889s # void *data1, *data2; 889s # gboolean v_return; 889s # 889s # g_return_if_fail (return_value != NULL); 889s # g_return_if_fail (n_param_values == 2); 889s # 889s # if (G_CCLOSURE_SWAP_DATA (closure)) 889s # { 889s # data1 = closure->data; 889s # data2 = g_value_peek_pointer (param_values + 0); 889s # } 889s # else 889s # { 889s # data1 = g_value_peek_pointer (param_values + 0); 889s # data2 = closure->data; 889s # } 889s # 889s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 889s # (marshal_data ? marshal_data : cc->callback); 889s # 889s # v_return = 889s # callback (data1, 889s # g_marshal_value_peek_object (param_values + 1), 889s # data2); 889s # 889s # g_value_set_boolean (return_value, v_return); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.CallableIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectCallableIface 889s # * @title: OrgProjectCallableIface 889s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.CallableIface ---- */ 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SimpleMethod", 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-simple-method", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 889s # { 889s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.CallableIface", 889s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-callable-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_callable_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_callable_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_callable_iface_method_marshal_simple_method ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectCallableIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.CallableIface. 889s # */ 889s # 889s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectCallableIface::handle-simple-method: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-simple-method", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_callable_iface_method_marshal_simple_method, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_simple_method: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_callable_iface_call_simple_method ( 889s # OrgProjectCallableIface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SimpleMethod", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_simple_method_finish: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_simple_method_finish ( 889s # OrgProjectCallableIface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_call_simple_method_sync: 889s # * @proxy: A #OrgProjectCallableIfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_callable_iface_call_simple_method_sync ( 889s # OrgProjectCallableIface *proxy, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SimpleMethod", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_complete_simple_method: 889s # * @object: A #OrgProjectCallableIface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_callable_iface_complete_simple_method ( 889s # OrgProjectCallableIface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceProxy: 889s # * 889s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectCallableIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectCallableIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_callable_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_callable_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_callable_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceSkeleton: 889s # * 889s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectCallableIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectCallableIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectCallableIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_callable_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_callable_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_callable_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 889s # { 889s # _org_project_callable_iface_skeleton_handle_method_call, 889s # _org_project_callable_iface_skeleton_handle_get_property, 889s # _org_project_callable_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_callable_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_callable_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_callable_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectCallableIface * 889s # org_project_callable_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ 889s # * Code for interface org.project.OtherCallableIface 889s # * ------------------------------------------------------------------------ 889s # */ 889s # 889s # /** 889s # * SECTION:OrgProjectOtherCallableIface 889s # * @title: OrgProjectOtherCallableIface 889s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 889s # * 889s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 889s # */ 889s # 889s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 889s # 889s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 889s # { 889s # { 889s # -1, 889s # (gchar *) "SimpleMethod", 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "handle-simple-method", 889s # FALSE 889s # }; 889s # 889s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 889s # { 889s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 889s # NULL 889s # }; 889s # 889s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 889s # { 889s # { 889s # -1, 889s # (gchar *) "org.project.OtherCallableIface", 889s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 889s # NULL, 889s # NULL, 889s # NULL 889s # }, 889s # "org-project-other-callable-iface", 889s # }; 889s # 889s # 889s # /** 889s # * org_project_other_callable_iface_interface_info: 889s # * 889s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 889s # * 889s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 889s # */ 889s # GDBusInterfaceInfo * 889s # org_project_other_callable_iface_interface_info (void) 889s # { 889s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_override_properties: 889s # * @klass: The class structure for a #GObject derived class. 889s # * @property_id_begin: The property id to assign to the first overridden property. 889s # * 889s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 889s # * The properties are overridden in the order they are defined. 889s # * 889s # * Returns: The last property id. 889s # */ 889s # guint 889s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 889s # { 889s # return property_id_begin - 1; 889s # } 889s # 889s # 889s # inline static void 889s # org_project_other_callable_iface_method_marshal_simple_method ( 889s # GClosure *closure, 889s # GValue *return_value, 889s # unsigned int n_param_values, 889s # const GValue *param_values, 889s # void *invocation_hint, 889s # void *marshal_data) 889s # { 889s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 889s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 889s # } 889s # 889s # 889s # /** 889s # * OrgProjectOtherCallableIface: 889s # * 889s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceIface: 889s # * @parent_iface: The parent interface. 889s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 889s # * 889s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 889s # */ 889s # 889s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 889s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 889s # 889s # static void 889s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 889s # { 889s # /* GObject signals for incoming D-Bus method calls: */ 889s # /** 889s # * OrgProjectOtherCallableIface::handle-simple-method: 889s # * @object: A #OrgProjectOtherCallableIface. 889s # * @invocation: A #GDBusMethodInvocation. 889s # * 889s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 889s # * 889s # * 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. 889s # * 889s # * 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. 889s # */ 889s # g_signal_new ("handle-simple-method", 889s # G_TYPE_FROM_INTERFACE (iface), 889s # G_SIGNAL_RUN_LAST, 889s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 889s # g_signal_accumulator_true_handled, 889s # NULL, 889s # org_project_other_callable_iface_method_marshal_simple_method, 889s # G_TYPE_BOOLEAN, 889s # 1, 889s # G_TYPE_DBUS_METHOD_INVOCATION); 889s # 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_call_simple_method: 889s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 889s # */ 889s # void 889s # org_project_other_callable_iface_call_simple_method ( 889s # OrgProjectOtherCallableIface *proxy, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 889s # "SimpleMethod", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # callback, 889s # user_data); 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_call_simple_method_finish: 889s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_other_callable_iface_call_simple_method_finish ( 889s # OrgProjectOtherCallableIface *proxy, 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_call_simple_method_sync: 889s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL. 889s # * 889s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 889s # * 889s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 889s # */ 889s # gboolean 889s # org_project_other_callable_iface_call_simple_method_sync ( 889s # OrgProjectOtherCallableIface *proxy, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GVariant *_ret; 889s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 889s # "SimpleMethod", 889s # g_variant_new ("()"), 889s # G_DBUS_CALL_FLAGS_NONE, 889s # -1, 889s # cancellable, 889s # error); 889s # if (_ret == NULL) 889s # goto _out; 889s # g_variant_get (_ret, 889s # "()"); 889s # g_variant_unref (_ret); 889s # _out: 889s # return _ret != NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_complete_simple_method: 889s # * @object: A #OrgProjectOtherCallableIface. 889s # * @invocation: (transfer full): A #GDBusMethodInvocation. 889s # * 889s # * 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. 889s # * 889s # * This method will free @invocation, you cannot use it afterwards. 889s # */ 889s # void 889s # org_project_other_callable_iface_complete_simple_method ( 889s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 889s # GDBusMethodInvocation *invocation) 889s # { 889s # g_dbus_method_invocation_return_value (invocation, 889s # g_variant_new ("()")); 889s # } 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceProxy: 889s # * 889s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceProxyClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 889s # */ 889s # 889s # struct _OrgProjectOtherCallableIfaceProxyPrivate 889s # { 889s # GData *qdata; 889s # }; 889s # 889s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_other_callable_iface_proxy_finalize (GObject *object) 889s # { 889s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 889s # g_datalist_clear (&proxy->priv->qdata); 889s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 889s # guint prop_id G_GNUC_UNUSED, 889s # const GValue *value G_GNUC_UNUSED, 889s # GParamSpec *pspec G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 889s # const gchar *sender_name G_GNUC_UNUSED, 889s # const gchar *signal_name, 889s # GVariant *parameters) 889s # { 889s # _ExtendedGDBusSignalInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # gsize n; 889s # guint signal_id; 889s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 889s # if (info == NULL) 889s # return; 889s # num_params = g_variant_n_children (parameters); 889s # paramv = g_new0 (GValue, num_params + 1); 889s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[0], proxy); 889s # g_variant_iter_init (&iter, parameters); 889s # n = 1; 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_signal_emitv (paramv, signal_id, 0, NULL); 889s # for (n = 0; n < num_params + 1; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 889s # GVariant *changed_properties, 889s # const gchar *const *invalidated_properties) 889s # { 889s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 889s # guint n; 889s # const gchar *key; 889s # GVariantIter *iter; 889s # _ExtendedGDBusPropertyInfo *info; 889s # g_variant_get (changed_properties, "a{sv}", &iter); 889s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 889s # g_datalist_remove_data (&proxy->priv->qdata, key); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # g_variant_iter_free (iter); 889s # for (n = 0; invalidated_properties[n] != NULL; n++) 889s # { 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 889s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 889s # if (info != NULL) 889s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 889s # } 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 889s # #else 889s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 889s # #endif 889s # 889s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusProxyClass *proxy_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 889s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 889s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 889s # 889s # proxy_class = G_DBUS_PROXY_CLASS (klass); 889s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 889s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_other_callable_iface_proxy_new ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_sync: 889s # * @connection: A #GDBusConnection. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_sync ( 889s # GDBusConnection *connection, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_for_bus: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 889s # * @user_data: User data to pass to @callback. 889s # * 889s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 889s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 889s # * 889s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 889s # */ 889s # void 889s # org_project_other_callable_iface_proxy_new_for_bus ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GAsyncReadyCallback callback, 889s # gpointer user_data) 889s # { 889s # 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); 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 889s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 889s # * @error: Return location for error or %NULL 889s # * 889s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 889s # GAsyncResult *res, 889s # GError **error) 889s # { 889s # GObject *ret; 889s # GObject *source_object; 889s # source_object = g_async_result_get_source_object (res); 889s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 889s # g_object_unref (source_object); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 889s # * @bus_type: A #GBusType. 889s # * @flags: Flags from the #GDBusProxyFlags enumeration. 889s # * @name: A bus name (well-known or unique). 889s # * @object_path: An object path. 889s # * @cancellable: (nullable): A #GCancellable or %NULL. 889s # * @error: Return location for error or %NULL 889s # * 889s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 889s # * 889s # * The calling thread is blocked until a reply is received. 889s # * 889s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 889s # GBusType bus_type, 889s # GDBusProxyFlags flags, 889s # const gchar *name, 889s # const gchar *object_path, 889s # GCancellable *cancellable, 889s # GError **error) 889s # { 889s # GInitable *ret; 889s # 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); 889s # if (ret != NULL) 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 889s # else 889s # return NULL; 889s # } 889s # 889s # 889s # /* ------------------------------------------------------------------------ */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceSkeleton: 889s # * 889s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 889s # */ 889s # 889s # /** 889s # * OrgProjectOtherCallableIfaceSkeletonClass: 889s # * @parent_class: The parent class. 889s # * 889s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 889s # */ 889s # 889s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 889s # { 889s # GValue *properties; 889s # GList *changed_properties; 889s # GSource *changed_properties_idle_source; 889s # GMainContext *context; 889s # GMutex lock; 889s # }; 889s # 889s # static void 889s # _org_project_other_callable_iface_skeleton_handle_method_call ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name, 889s # const gchar *method_name, 889s # GVariant *parameters, 889s # GDBusMethodInvocation *invocation, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 889s # _ExtendedGDBusMethodInfo *info; 889s # GVariantIter iter; 889s # GVariant *child; 889s # GValue *paramv; 889s # gsize num_params; 889s # guint num_extra; 889s # gsize n; 889s # guint signal_id; 889s # GValue return_value = G_VALUE_INIT; 889s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 889s # g_assert (info != NULL); 889s # num_params = g_variant_n_children (parameters); 889s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 889s # n = 0; 889s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_value_set_object (¶mv[n++], skeleton); 889s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 889s # g_value_set_object (¶mv[n++], invocation); 889s # if (info->pass_fdlist) 889s # { 889s # #ifdef G_OS_UNIX 889s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 889s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 889s # #else 889s # g_assert_not_reached (); 889s # #endif 889s # } 889s # g_variant_iter_init (&iter, parameters); 889s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 889s # { 889s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 889s # if (arg_info->use_gvariant) 889s # { 889s # g_value_init (¶mv[n], G_TYPE_VARIANT); 889s # g_value_set_variant (¶mv[n], child); 889s # n++; 889s # } 889s # else 889s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 889s # g_variant_unref (child); 889s # } 889s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 889s # g_value_init (&return_value, G_TYPE_BOOLEAN); 889s # g_signal_emitv (paramv, signal_id, 0, &return_value); 889s # if (!g_value_get_boolean (&return_value)) 889s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 889s # g_value_unset (&return_value); 889s # for (n = 0; n < num_params + num_extra; n++) 889s # g_value_unset (¶mv[n]); 889s # g_free (paramv); 889s # } 889s # 889s # static GVariant * 889s # _org_project_other_callable_iface_skeleton_handle_get_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # GVariant *ret; 889s # ret = NULL; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # g_value_init (&value, pspec->value_type); 889s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 889s # g_value_unset (&value); 889s # } 889s # return ret; 889s # } 889s # 889s # static gboolean 889s # _org_project_other_callable_iface_skeleton_handle_set_property ( 889s # GDBusConnection *connection G_GNUC_UNUSED, 889s # const gchar *sender G_GNUC_UNUSED, 889s # const gchar *object_path G_GNUC_UNUSED, 889s # const gchar *interface_name G_GNUC_UNUSED, 889s # const gchar *property_name, 889s # GVariant *variant, 889s # GError **error, 889s # gpointer user_data) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 889s # GValue value = G_VALUE_INIT; 889s # GParamSpec *pspec; 889s # _ExtendedGDBusPropertyInfo *info; 889s # gboolean ret; 889s # ret = FALSE; 889s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 889s # g_assert (info != NULL); 889s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 889s # if (pspec == NULL) 889s # { 889s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 889s # } 889s # else 889s # { 889s # if (info->use_gvariant) 889s # g_value_set_variant (&value, variant); 889s # else 889s # g_dbus_gvariant_to_gvalue (variant, &value); 889s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 889s # g_value_unset (&value); 889s # ret = TRUE; 889s # } 889s # return ret; 889s # } 889s # 889s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 889s # { 889s # _org_project_other_callable_iface_skeleton_handle_method_call, 889s # _org_project_other_callable_iface_skeleton_handle_get_property, 889s # _org_project_other_callable_iface_skeleton_handle_set_property, 889s # {NULL} 889s # }; 889s # 889s # static GDBusInterfaceInfo * 889s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return org_project_other_callable_iface_interface_info (); 889s # } 889s # 889s # static GDBusInterfaceVTable * 889s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 889s # { 889s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 889s # } 889s # 889s # static GVariant * 889s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 889s # 889s # GVariantBuilder builder; 889s # guint n; 889s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 889s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 889s # goto out; 889s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 889s # { 889s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 889s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 889s # { 889s # GVariant *value; 889s # 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); 889s # if (value != NULL) 889s # { 889s # g_variant_take_ref (value); 889s # g_variant_builder_add (&builder, "{sv}", info->name, value); 889s # g_variant_unref (value); 889s # } 889s # } 889s # } 889s # out: 889s # return g_variant_builder_end (&builder); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 889s # 889s # #else 889s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 889s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 889s # 889s # #endif 889s # static void 889s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 889s # { 889s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 889s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 889s # if (skeleton->priv->changed_properties_idle_source != NULL) 889s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 889s # g_main_context_unref (skeleton->priv->context); 889s # g_mutex_clear (&skeleton->priv->lock); 889s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 889s # { 889s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 889s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 889s # #else 889s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 889s # #endif 889s # 889s # g_mutex_init (&skeleton->priv->lock); 889s # skeleton->priv->context = g_main_context_ref_thread_default (); 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 889s # { 889s # GObjectClass *gobject_class; 889s # GDBusInterfaceSkeletonClass *skeleton_class; 889s # 889s # gobject_class = G_OBJECT_CLASS (klass); 889s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 889s # 889s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 889s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 889s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 889s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 889s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 889s # 889s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 889s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 889s # #endif 889s # } 889s # 889s # static void 889s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 889s # { 889s # } 889s # 889s # /** 889s # * org_project_other_callable_iface_skeleton_new: 889s # * 889s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 889s # * 889s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 889s # */ 889s # OrgProjectOtherCallableIface * 889s # org_project_other_callable_iface_skeleton_new (void) 889s # { 889s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 889s # } 890s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 890s # tmpdir: /tmp/tmpukpr9d38 890s # codegen: /usr/bin/gdbus-codegen 890s # /tmp/tmpukpr9d38/tmpr593shaz.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpr593shaz.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # gboolean arg_arg_b, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_boolean (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_b", 890s # (gchar *) "b", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodB", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-b", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_b ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_b: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-b", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_b, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_b: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_b: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_b ( 890s # OrgProjectUsefulInterface *proxy, 890s # gboolean arg_arg_b, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodB", 890s # g_variant_new ("(b)", 890s # arg_arg_b), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_b_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_b_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_b_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_b: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_b_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # gboolean arg_arg_b, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodB", 890s # g_variant_new ("(b)", 890s # arg_arg_b), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_b: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_b ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmppij6dvqi.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmppij6dvqi.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # guchar arg_arg_y, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_uchar (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_y", 890s # (gchar *) "y", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodY", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-y", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_y ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_y: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-y", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_y, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_y: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_y: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_y ( 890s # OrgProjectUsefulInterface *proxy, 890s # guchar arg_arg_y, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodY", 890s # g_variant_new ("(y)", 890s # arg_arg_y), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_y_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_y_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_y_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_y: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_y_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # guchar arg_arg_y, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodY", 890s # g_variant_new ("(y)", 890s # arg_arg_y), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_y: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_y ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmp0o69fphx.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmp0o69fphx.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # gint16 arg_arg_n, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_int (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_n", 890s # (gchar *) "n", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodN", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-n", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_n ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_n: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-n", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_n, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_n: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_n: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_n ( 890s # OrgProjectUsefulInterface *proxy, 890s # gint16 arg_arg_n, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodN", 890s # g_variant_new ("(n)", 890s # arg_arg_n), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_n_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_n_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_n_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_n: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_n_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # gint16 arg_arg_n, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodN", 890s # g_variant_new ("(n)", 890s # arg_arg_n), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_n: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_n ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmp2k_t3nz5.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmp2k_t3nz5.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # guint16 arg_arg_q, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_uint (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_q", 890s # (gchar *) "q", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodQ", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-q", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_q ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_q: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-q", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_q, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_q: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_q: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_q ( 890s # OrgProjectUsefulInterface *proxy, 890s # guint16 arg_arg_q, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodQ", 890s # g_variant_new ("(q)", 890s # arg_arg_q), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_q_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_q_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_q_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_q: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_q_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # guint16 arg_arg_q, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodQ", 890s # g_variant_new ("(q)", 890s # arg_arg_q), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_q: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_q ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmp9ebkvqs2.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmp9ebkvqs2.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # gint arg_arg_i, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_int (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_i", 890s # (gchar *) "i", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodI", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-i", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_i ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_i: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-i", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_i, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_i: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_i: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_i ( 890s # OrgProjectUsefulInterface *proxy, 890s # gint arg_arg_i, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodI", 890s # g_variant_new ("(i)", 890s # arg_arg_i), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_i_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_i_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_i_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_i: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_i_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # gint arg_arg_i, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodI", 890s # g_variant_new ("(i)", 890s # arg_arg_i), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_i: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_i ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmp4j4ipefq.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmp4j4ipefq.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # guint arg_arg_u, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_uint (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_u", 890s # (gchar *) "u", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodU", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-u", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_u ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_u: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-u", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_u, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_u: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_u: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_u ( 890s # OrgProjectUsefulInterface *proxy, 890s # guint arg_arg_u, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodU", 890s # g_variant_new ("(u)", 890s # arg_arg_u), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_u_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_u_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_u_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_u: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_u_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # guint arg_arg_u, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodU", 890s # g_variant_new ("(u)", 890s # arg_arg_u), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_u: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_u ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpoi2eld1h.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpoi2eld1h.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # gint64 arg_arg_x, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_int64 (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_x", 890s # (gchar *) "x", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodX", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-x", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_x ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_x: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-x", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_x, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_x: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_x: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_x ( 890s # OrgProjectUsefulInterface *proxy, 890s # gint64 arg_arg_x, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodX", 890s # g_variant_new ("(x)", 890s # arg_arg_x), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_x_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_x_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_x_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_x: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_x_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # gint64 arg_arg_x, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodX", 890s # g_variant_new ("(x)", 890s # arg_arg_x), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_x: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_x ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmp5fd1qbpl.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmp5fd1qbpl.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # guint64 arg_arg_t, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_uint64 (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_t", 890s # (gchar *) "t", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodT", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-t", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_t ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_t: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-t", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_t, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_t: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_t: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_t ( 890s # OrgProjectUsefulInterface *proxy, 890s # guint64 arg_arg_t, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodT", 890s # g_variant_new ("(t)", 890s # arg_arg_t), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_t_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_t_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_t_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_t: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_t_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # guint64 arg_arg_t, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodT", 890s # g_variant_new ("(t)", 890s # arg_arg_t), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_t: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_t ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpg9x4wzri.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpg9x4wzri.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # gdouble arg_arg_d, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_double (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_d", 890s # (gchar *) "d", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodD", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-d", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_d ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_d: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-d", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_d, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_d: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_d: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_d ( 890s # OrgProjectUsefulInterface *proxy, 890s # gdouble arg_arg_d, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodD", 890s # g_variant_new ("(d)", 890s # arg_arg_d), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_d_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_d_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_d_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_d: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_d_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # gdouble arg_arg_d, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodD", 890s # g_variant_new ("(d)", 890s # arg_arg_d), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_d: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_d ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpdgctunlm.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpdgctunlm.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # const gchar *arg_arg_s, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_string (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_s", 890s # (gchar *) "s", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodS", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-s", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_s ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_s: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-s", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_s, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_s: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_s: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_s ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_s, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodS", 890s # g_variant_new ("(s)", 890s # arg_arg_s), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_s_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_s_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_s_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_s: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_s_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_s, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodS", 890s # g_variant_new ("(s)", 890s # arg_arg_s), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_s: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_s ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmp74jqqz5y.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmp74jqqz5y.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # const gchar *arg_arg_o, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_string (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_o", 890s # (gchar *) "o", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodO", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-o", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_o ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_o: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-o", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_o, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_o: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_o: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_o ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_o, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodO", 890s # g_variant_new ("(o)", 890s # arg_arg_o), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_o_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_o_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_o_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_o: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_o_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_o, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodO", 890s # g_variant_new ("(o)", 890s # arg_arg_o), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_o: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_o ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmproxly3ri.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmproxly3ri.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # const gchar *arg_arg_g, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_string (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_g", 890s # (gchar *) "g", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodG", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-g", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_g ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_g: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-g", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_g, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_g: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_g: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_g ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_g, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodG", 890s # g_variant_new ("(g)", 890s # arg_arg_g), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_g_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_g_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_g_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_g: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_g_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_g, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodG", 890s # g_variant_new ("(g)", 890s # arg_arg_g), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_g: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_g ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmp2hodst98.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmp2hodst98.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # GVariant *arg_arg_h, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_variant (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_h", 890s # (gchar *) "h", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodH", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-h", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_h ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_h: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-h", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_h, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_h: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_h: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_h ( 890s # OrgProjectUsefulInterface *proxy, 890s # GVariant *arg_arg_h, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodH", 890s # g_variant_new ("(@h)", 890s # arg_arg_h), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_h_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_h_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_h_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_h: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_h_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # GVariant *arg_arg_h, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodH", 890s # g_variant_new ("(@h)", 890s # arg_arg_h), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_h: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_h ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpny_tdpne.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpny_tdpne.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # const gchar *arg_arg_ay, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_string (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_ay", 890s # (gchar *) "ay", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodAy", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-ay", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_ay: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-ay", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_ay, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_ay: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_ay: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_ay ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_ay, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAy", 890s # g_variant_new ("(^ay)", 890s # arg_arg_ay), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_ay_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_ay_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_ay_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_ay: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_ay_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *arg_arg_ay, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAy", 890s # g_variant_new ("(^ay)", 890s # arg_arg_ay), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_ay: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_ay ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpp_mde719.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpp_mde719.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # const gchar *const *arg_arg_as, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_boxed (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_as", 890s # (gchar *) "as", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodAs", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-as", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_as ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_as: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-as", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_as, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_as: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_as: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_as ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *const *arg_arg_as, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAs", 890s # g_variant_new ("(^as)", 890s # arg_arg_as), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_as_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_as_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_as_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_as: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_as_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *const *arg_arg_as, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAs", 890s # g_variant_new ("(^as)", 890s # arg_arg_as), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_as: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_as ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpj94g0peq.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpj94g0peq.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # const gchar *const *arg_arg_ao, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_boxed (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_ao", 890s # (gchar *) "ao", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodAo", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-ao", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_ao: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-ao", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_ao, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_ao: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_ao: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_ao ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *const *arg_arg_ao, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAo", 890s # g_variant_new ("(^ao)", 890s # arg_arg_ao), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_ao_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_ao_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_ao_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_ao: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_ao_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *const *arg_arg_ao, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAo", 890s # g_variant_new ("(^ao)", 890s # arg_arg_ao), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_ao: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_ao ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpm0zko396.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpm0zko396.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # const gchar *const *arg_arg_aay, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_boxed (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_aay", 890s # (gchar *) "aay", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodAay", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-aay", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_aay: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-aay", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_aay, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_aay: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_aay: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_aay ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *const *arg_arg_aay, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAay", 890s # g_variant_new ("(^aay)", 890s # arg_arg_aay), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_aay_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_aay_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_aay_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_aay: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_aay_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # const gchar *const *arg_arg_aay, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAay", 890s # g_variant_new ("(^aay)", 890s # arg_arg_aay), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_aay: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_aay ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 890s # /tmp/tmpukpr9d38/tmpe6k2d4wl.xml: 890s # 890s # 890s # 890s # 890s # 890s # 890s # 890s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukpr9d38/tmpe6k2d4wl.xml', '--output', '-', '--body'] 890s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 890s # Output: /* 890s # * This file is generated by gdbus-codegen, do not modify it. 890s # * 890s # * The license of this code is the same as for the D-Bus interface description 890s # * it was derived from. Note that it links to GLib, so must comply with the 890s # * LGPL linking clauses. 890s # */ 890s # 890s # #ifdef HAVE_CONFIG_H 890s # # include "config.h" 890s # #endif 890s # 890s # #include 890s # #ifdef G_OS_UNIX 890s # # include 890s # #endif 890s # 890s # #ifdef G_ENABLE_DEBUG 890s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 890s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 890s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 890s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 890s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 890s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 890s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 890s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 890s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 890s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 890s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 890s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 890s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 890s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 890s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 890s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 890s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 890s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 890s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 890s # #else /* !G_ENABLE_DEBUG */ 890s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 890s # * Do not access GValues directly in your code. Instead, use the 890s # * g_value_get_*() functions 890s # */ 890s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 890s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 890s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 890s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 890s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 890s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 890s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 890s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 890s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 890s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 890s # #endif /* !G_ENABLE_DEBUG */ 890s # 890s # typedef struct 890s # { 890s # GDBusArgInfo parent_struct; 890s # gboolean use_gvariant; 890s # } _ExtendedGDBusArgInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusMethodInfo parent_struct; 890s # const gchar *signal_name; 890s # gboolean pass_fdlist; 890s # } _ExtendedGDBusMethodInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusSignalInfo parent_struct; 890s # const gchar *signal_name; 890s # } _ExtendedGDBusSignalInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusPropertyInfo parent_struct; 890s # const gchar *hyphen_name; 890s # guint use_gvariant : 1; 890s # guint emits_changed_signal : 1; 890s # } _ExtendedGDBusPropertyInfo; 890s # 890s # typedef struct 890s # { 890s # GDBusInterfaceInfo parent_struct; 890s # const gchar *hyphen_name; 890s # } _ExtendedGDBusInterfaceInfo; 890s # 890s # typedef struct 890s # { 890s # const _ExtendedGDBusPropertyInfo *info; 890s # guint prop_id; 890s # GValue orig_value; /* the value before the change */ 890s # } ChangedProperty; 890s # 890s # static void 890s # _changed_property_free (ChangedProperty *data) 890s # { 890s # g_value_unset (&data->orig_value); 890s # g_free (data); 890s # } 890s # 890s # static gboolean 890s # _g_strv_equal0 (gchar **a, gchar **b) 890s # { 890s # gboolean ret = FALSE; 890s # guint n; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # if (g_strv_length (a) != g_strv_length (b)) 890s # goto out; 890s # for (n = 0; a[n] != NULL; n++) 890s # if (g_strcmp0 (a[n], b[n]) != 0) 890s # goto out; 890s # ret = TRUE; 890s # out: 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _g_variant_equal0 (GVariant *a, GVariant *b) 890s # { 890s # gboolean ret = FALSE; 890s # if (a == NULL && b == NULL) 890s # { 890s # ret = TRUE; 890s # goto out; 890s # } 890s # if (a == NULL || b == NULL) 890s # goto out; 890s # ret = g_variant_equal (a, b); 890s # out: 890s # return ret; 890s # } 890s # 890s # G_GNUC_UNUSED static gboolean 890s # _g_value_equal (const GValue *a, const GValue *b) 890s # { 890s # gboolean ret = FALSE; 890s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 890s # switch (G_VALUE_TYPE (a)) 890s # { 890s # case G_TYPE_BOOLEAN: 890s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 890s # break; 890s # case G_TYPE_UCHAR: 890s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 890s # break; 890s # case G_TYPE_INT: 890s # ret = (g_value_get_int (a) == g_value_get_int (b)); 890s # break; 890s # case G_TYPE_UINT: 890s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 890s # break; 890s # case G_TYPE_INT64: 890s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 890s # break; 890s # case G_TYPE_UINT64: 890s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 890s # break; 890s # case G_TYPE_DOUBLE: 890s # { 890s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 890s # gdouble da = g_value_get_double (a); 890s # gdouble db = g_value_get_double (b); 890s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 890s # } 890s # break; 890s # case G_TYPE_STRING: 890s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 890s # break; 890s # case G_TYPE_VARIANT: 890s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 890s # break; 890s # default: 890s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 890s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 890s # else 890s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 890s # break; 890s # } 890s # return ret; 890s # } 890s # 890s # static void 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint G_GNUC_UNUSED, 890s # void *marshal_data) 890s # { 890s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 890s # (void *data1, 890s # GDBusMethodInvocation *arg_method_invocation, 890s # GVariant *arg_arg_asv, 890s # void *data2); 890s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 890s # GCClosure *cc = (GCClosure*) closure; 890s # void *data1, *data2; 890s # gboolean v_return; 890s # 890s # g_return_if_fail (return_value != NULL); 890s # g_return_if_fail (n_param_values == 3); 890s # 890s # if (G_CCLOSURE_SWAP_DATA (closure)) 890s # { 890s # data1 = closure->data; 890s # data2 = g_value_peek_pointer (param_values + 0); 890s # } 890s # else 890s # { 890s # data1 = g_value_peek_pointer (param_values + 0); 890s # data2 = closure->data; 890s # } 890s # 890s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 890s # (marshal_data ? marshal_data : cc->callback); 890s # 890s # v_return = 890s # callback (data1, 890s # g_marshal_value_peek_object (param_values + 1), 890s # g_marshal_value_peek_variant (param_values + 2), 890s # data2); 890s # 890s # g_value_set_boolean (return_value, v_return); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ 890s # * Code for interface org.project.UsefulInterface 890s # * ------------------------------------------------------------------------ 890s # */ 890s # 890s # /** 890s # * SECTION:OrgProjectUsefulInterface 890s # * @title: OrgProjectUsefulInterface 890s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 890s # * 890s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 890s # */ 890s # 890s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 890s # 890s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 890s # { 890s # { 890s # -1, 890s # (gchar *) "arg_asv", 890s # (gchar *) "a{sv}", 890s # NULL 890s # }, 890s # FALSE 890s # }; 890s # 890s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 890s # { 890s # { 890s # -1, 890s # (gchar *) "SingleArgMethodAsv", 890s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 890s # NULL, 890s # NULL 890s # }, 890s # "handle-single-arg-method-asv", 890s # FALSE 890s # }; 890s # 890s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 890s # { 890s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 890s # NULL 890s # }; 890s # 890s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 890s # { 890s # { 890s # -1, 890s # (gchar *) "org.project.UsefulInterface", 890s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 890s # NULL, 890s # NULL, 890s # NULL 890s # }, 890s # "org-project-useful-interface", 890s # }; 890s # 890s # 890s # /** 890s # * org_project_useful_interface_interface_info: 890s # * 890s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 890s # * 890s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 890s # */ 890s # GDBusInterfaceInfo * 890s # org_project_useful_interface_interface_info (void) 890s # { 890s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_override_properties: 890s # * @klass: The class structure for a #GObject derived class. 890s # * @property_id_begin: The property id to assign to the first overridden property. 890s # * 890s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 890s # * The properties are overridden in the order they are defined. 890s # * 890s # * Returns: The last property id. 890s # */ 890s # guint 890s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 890s # { 890s # return property_id_begin - 1; 890s # } 890s # 890s # 890s # inline static void 890s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 890s # GClosure *closure, 890s # GValue *return_value, 890s # unsigned int n_param_values, 890s # const GValue *param_values, 890s # void *invocation_hint, 890s # void *marshal_data) 890s # { 890s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 890s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 890s # } 890s # 890s # 890s # /** 890s # * OrgProjectUsefulInterface: 890s # * 890s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceIface: 890s # * @parent_iface: The parent interface. 890s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 890s # * 890s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 890s # */ 890s # 890s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 890s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 890s # 890s # static void 890s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 890s # { 890s # /* GObject signals for incoming D-Bus method calls: */ 890s # /** 890s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: A #GDBusMethodInvocation. 890s # * @arg_arg_asv: Argument passed by remote caller. 890s # * 890s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 890s # * 890s # * 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. 890s # * 890s # * 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. 890s # */ 890s # g_signal_new ("handle-single-arg-method-asv", 890s # G_TYPE_FROM_INTERFACE (iface), 890s # G_SIGNAL_RUN_LAST, 890s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 890s # g_signal_accumulator_true_handled, 890s # NULL, 890s # org_project_useful_interface_method_marshal_single_arg_method_asv, 890s # G_TYPE_BOOLEAN, 890s # 2, 890s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 890s # 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_asv: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_asv: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 890s # */ 890s # void 890s # org_project_useful_interface_call_single_arg_method_asv ( 890s # OrgProjectUsefulInterface *proxy, 890s # GVariant *arg_arg_asv, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAsv", 890s # g_variant_new ("(@a{sv})", 890s # arg_arg_asv), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # callback, 890s # user_data); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_asv_finish: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_asv_finish ( 890s # OrgProjectUsefulInterface *proxy, 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_call_single_arg_method_asv_sync: 890s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 890s # * @arg_arg_asv: Argument to pass with the method invocation. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL. 890s # * 890s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 890s # * 890s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 890s # */ 890s # gboolean 890s # org_project_useful_interface_call_single_arg_method_asv_sync ( 890s # OrgProjectUsefulInterface *proxy, 890s # GVariant *arg_arg_asv, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GVariant *_ret; 890s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 890s # "SingleArgMethodAsv", 890s # g_variant_new ("(@a{sv})", 890s # arg_arg_asv), 890s # G_DBUS_CALL_FLAGS_NONE, 890s # -1, 890s # cancellable, 890s # error); 890s # if (_ret == NULL) 890s # goto _out; 890s # g_variant_get (_ret, 890s # "()"); 890s # g_variant_unref (_ret); 890s # _out: 890s # return _ret != NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_complete_single_arg_method_asv: 890s # * @object: A #OrgProjectUsefulInterface. 890s # * @invocation: (transfer full): A #GDBusMethodInvocation. 890s # * 890s # * 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. 890s # * 890s # * This method will free @invocation, you cannot use it afterwards. 890s # */ 890s # void 890s # org_project_useful_interface_complete_single_arg_method_asv ( 890s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 890s # GDBusMethodInvocation *invocation) 890s # { 890s # g_dbus_method_invocation_return_value (invocation, 890s # g_variant_new ("()")); 890s # } 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxy: 890s # * 890s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceProxyClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceProxy. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceProxyPrivate 890s # { 890s # GData *qdata; 890s # }; 890s # 890s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_proxy_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 890s # g_datalist_clear (&proxy->priv->qdata); 890s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 890s # guint prop_id G_GNUC_UNUSED, 890s # const GValue *value G_GNUC_UNUSED, 890s # GParamSpec *pspec G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 890s # const gchar *sender_name G_GNUC_UNUSED, 890s # const gchar *signal_name, 890s # GVariant *parameters) 890s # { 890s # _ExtendedGDBusSignalInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # gsize n; 890s # guint signal_id; 890s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 890s # if (info == NULL) 890s # return; 890s # num_params = g_variant_n_children (parameters); 890s # paramv = g_new0 (GValue, num_params + 1); 890s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[0], proxy); 890s # g_variant_iter_init (&iter, parameters); 890s # n = 1; 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_signal_emitv (paramv, signal_id, 0, NULL); 890s # for (n = 0; n < num_params + 1; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 890s # GVariant *changed_properties, 890s # const gchar *const *invalidated_properties) 890s # { 890s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 890s # guint n; 890s # const gchar *key; 890s # GVariantIter *iter; 890s # _ExtendedGDBusPropertyInfo *info; 890s # g_variant_get (changed_properties, "a{sv}", &iter); 890s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 890s # g_datalist_remove_data (&proxy->priv->qdata, key); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # g_variant_iter_free (iter); 890s # for (n = 0; invalidated_properties[n] != NULL; n++) 890s # { 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 890s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 890s # if (info != NULL) 890s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 890s # } 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 890s # #else 890s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 890s # #endif 890s # 890s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusProxyClass *proxy_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 890s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 890s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 890s # 890s # proxy_class = G_DBUS_PROXY_CLASS (klass); 890s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 890s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_sync: 890s # * @connection: A #GDBusConnection. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_sync ( 890s # GDBusConnection *connection, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 890s # * @user_data: User data to pass to @callback. 890s # * 890s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 890s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 890s # */ 890s # void 890s # org_project_useful_interface_proxy_new_for_bus ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GAsyncReadyCallback callback, 890s # gpointer user_data) 890s # { 890s # g_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); 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_finish: 890s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 890s # * @error: Return location for error or %NULL 890s # * 890s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_finish ( 890s # GAsyncResult *res, 890s # GError **error) 890s # { 890s # GObject *ret; 890s # GObject *source_object; 890s # source_object = g_async_result_get_source_object (res); 890s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 890s # g_object_unref (source_object); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_proxy_new_for_bus_sync: 890s # * @bus_type: A #GBusType. 890s # * @flags: Flags from the #GDBusProxyFlags enumeration. 890s # * @name: A bus name (well-known or unique). 890s # * @object_path: An object path. 890s # * @cancellable: (nullable): A #GCancellable or %NULL. 890s # * @error: Return location for error or %NULL 890s # * 890s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 890s # * 890s # * The calling thread is blocked until a reply is received. 890s # * 890s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_proxy_new_for_bus_sync ( 890s # GBusType bus_type, 890s # GDBusProxyFlags flags, 890s # const gchar *name, 890s # const gchar *object_path, 890s # GCancellable *cancellable, 890s # GError **error) 890s # { 890s # GInitable *ret; 890s # 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); 890s # if (ret != NULL) 890s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 890s # else 890s # return NULL; 890s # } 890s # 890s # 890s # /* ------------------------------------------------------------------------ */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeleton: 890s # * 890s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 890s # */ 890s # 890s # /** 890s # * OrgProjectUsefulInterfaceSkeletonClass: 890s # * @parent_class: The parent class. 890s # * 890s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 890s # */ 890s # 890s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 890s # { 890s # GValue *properties; 890s # GList *changed_properties; 890s # GSource *changed_properties_idle_source; 890s # GMainContext *context; 890s # GMutex lock; 890s # }; 890s # 890s # static void 890s # _org_project_useful_interface_skeleton_handle_method_call ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name, 890s # const gchar *method_name, 890s # GVariant *parameters, 890s # GDBusMethodInvocation *invocation, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # _ExtendedGDBusMethodInfo *info; 890s # GVariantIter iter; 890s # GVariant *child; 890s # GValue *paramv; 890s # gsize num_params; 890s # guint num_extra; 890s # gsize n; 890s # guint signal_id; 890s # GValue return_value = G_VALUE_INIT; 890s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 890s # g_assert (info != NULL); 890s # num_params = g_variant_n_children (parameters); 890s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 890s # n = 0; 890s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_set_object (¶mv[n++], skeleton); 890s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 890s # g_value_set_object (¶mv[n++], invocation); 890s # if (info->pass_fdlist) 890s # { 890s # #ifdef G_OS_UNIX 890s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 890s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 890s # #else 890s # g_assert_not_reached (); 890s # #endif 890s # } 890s # g_variant_iter_init (&iter, parameters); 890s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 890s # { 890s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 890s # if (arg_info->use_gvariant) 890s # { 890s # g_value_init (¶mv[n], G_TYPE_VARIANT); 890s # g_value_set_variant (¶mv[n], child); 890s # n++; 890s # } 890s # else 890s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 890s # g_variant_unref (child); 890s # } 890s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 890s # g_value_init (&return_value, G_TYPE_BOOLEAN); 890s # g_signal_emitv (paramv, signal_id, 0, &return_value); 890s # if (!g_value_get_boolean (&return_value)) 890s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 890s # g_value_unset (&return_value); 890s # for (n = 0; n < num_params + num_extra; n++) 890s # g_value_unset (¶mv[n]); 890s # g_free (paramv); 890s # } 890s # 890s # static GVariant * 890s # _org_project_useful_interface_skeleton_handle_get_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # GVariant *ret; 890s # ret = NULL; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # g_value_init (&value, pspec->value_type); 890s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 890s # g_value_unset (&value); 890s # } 890s # return ret; 890s # } 890s # 890s # static gboolean 890s # _org_project_useful_interface_skeleton_handle_set_property ( 890s # GDBusConnection *connection G_GNUC_UNUSED, 890s # const gchar *sender G_GNUC_UNUSED, 890s # const gchar *object_path G_GNUC_UNUSED, 890s # const gchar *interface_name G_GNUC_UNUSED, 890s # const gchar *property_name, 890s # GVariant *variant, 890s # GError **error, 890s # gpointer user_data) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 890s # GValue value = G_VALUE_INIT; 890s # GParamSpec *pspec; 890s # _ExtendedGDBusPropertyInfo *info; 890s # gboolean ret; 890s # ret = FALSE; 890s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 890s # g_assert (info != NULL); 890s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 890s # if (pspec == NULL) 890s # { 890s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 890s # } 890s # else 890s # { 890s # if (info->use_gvariant) 890s # g_value_set_variant (&value, variant); 890s # else 890s # g_dbus_gvariant_to_gvalue (variant, &value); 890s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 890s # g_value_unset (&value); 890s # ret = TRUE; 890s # } 890s # return ret; 890s # } 890s # 890s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 890s # { 890s # _org_project_useful_interface_skeleton_handle_method_call, 890s # _org_project_useful_interface_skeleton_handle_get_property, 890s # _org_project_useful_interface_skeleton_handle_set_property, 890s # {NULL} 890s # }; 890s # 890s # static GDBusInterfaceInfo * 890s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return org_project_useful_interface_interface_info (); 890s # } 890s # 890s # static GDBusInterfaceVTable * 890s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 890s # { 890s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 890s # } 890s # 890s # static GVariant * 890s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 890s # 890s # GVariantBuilder builder; 890s # guint n; 890s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 890s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 890s # goto out; 890s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 890s # { 890s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 890s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 890s # { 890s # GVariant *value; 890s # 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); 890s # if (value != NULL) 890s # { 890s # g_variant_take_ref (value); 890s # g_variant_builder_add (&builder, "{sv}", info->name, value); 890s # g_variant_unref (value); 890s # } 890s # } 890s # } 890s # out: 890s # return g_variant_builder_end (&builder); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #else 890s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 890s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 890s # 890s # #endif 890s # static void 890s # org_project_useful_interface_skeleton_finalize (GObject *object) 890s # { 890s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 890s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 890s # if (skeleton->priv->changed_properties_idle_source != NULL) 890s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 890s # g_main_context_unref (skeleton->priv->context); 890s # g_mutex_clear (&skeleton->priv->lock); 890s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 890s # { 890s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 890s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 890s # #else 890s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 890s # #endif 890s # 890s # g_mutex_init (&skeleton->priv->lock); 890s # skeleton->priv->context = g_main_context_ref_thread_default (); 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 890s # { 890s # GObjectClass *gobject_class; 890s # GDBusInterfaceSkeletonClass *skeleton_class; 890s # 890s # gobject_class = G_OBJECT_CLASS (klass); 890s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 890s # 890s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 890s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 890s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 890s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 890s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 890s # 890s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 890s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 890s # #endif 890s # } 890s # 890s # static void 890s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 890s # { 890s # } 890s # 890s # /** 890s # * org_project_useful_interface_skeleton_new: 890s # * 890s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 890s # * 890s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 890s # */ 890s # OrgProjectUsefulInterface * 890s # org_project_useful_interface_skeleton_new (void) 890s # { 890s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 890s # } 891s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 891s # tmpdir: /tmp/tmp8ny_89j9 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmp8ny_89j9/tmp5iu8c7ma.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmp5iu8c7ma.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_b", 891s # (gchar *) "b", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodB", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-b", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_b ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-b", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_b, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_b: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_b ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodB", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_b_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_b_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gboolean *out_arg_b, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(b)", 891s # out_arg_b); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_b_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_b_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gboolean *out_arg_b, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodB", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(b)", 891s # out_arg_b); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_b: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_b: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_b ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # gboolean arg_b) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(b)", 891s # arg_b)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpg8u_y9at.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpg8u_y9at.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_y", 891s # (gchar *) "y", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodY", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-y", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_y ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-y", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_y, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_y: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_y ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodY", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_y_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_y_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # guchar *out_arg_y, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(y)", 891s # out_arg_y); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_y_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_y_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # guchar *out_arg_y, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodY", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(y)", 891s # out_arg_y); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_y: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_y: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_y ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # guchar arg_y) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(y)", 891s # arg_y)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpga1ytit5.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpga1ytit5.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_n", 891s # (gchar *) "n", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodN", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-n", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_n ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-n", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_n, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_n: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_n ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodN", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_n_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_n_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gint16 *out_arg_n, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(n)", 891s # out_arg_n); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_n_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_n_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gint16 *out_arg_n, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodN", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(n)", 891s # out_arg_n); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_n: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_n: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_n ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # gint16 arg_n) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(n)", 891s # arg_n)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpaoc3ece_.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpaoc3ece_.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_q", 891s # (gchar *) "q", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodQ", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-q", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_q ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-q", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_q, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_q: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_q ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodQ", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_q_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_q_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # guint16 *out_arg_q, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(q)", 891s # out_arg_q); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_q_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_q_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # guint16 *out_arg_q, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodQ", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(q)", 891s # out_arg_q); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_q: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_q: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_q ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # guint16 arg_q) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(q)", 891s # arg_q)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmp1rep_6ss.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmp1rep_6ss.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_i", 891s # (gchar *) "i", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodI", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-i", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_i ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-i", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_i, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_i: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_i ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodI", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_i_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_i_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gint *out_arg_i, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(i)", 891s # out_arg_i); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_i_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_i_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gint *out_arg_i, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodI", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(i)", 891s # out_arg_i); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_i: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_i: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_i ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # gint arg_i) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(i)", 891s # arg_i)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmp9dz0h04x.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmp9dz0h04x.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_u", 891s # (gchar *) "u", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodU", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-u", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_u ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-u", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_u, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_u: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_u ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodU", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_u_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_u_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # guint *out_arg_u, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(u)", 891s # out_arg_u); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_u_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_u_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # guint *out_arg_u, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodU", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(u)", 891s # out_arg_u); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_u: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_u: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_u ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # guint arg_u) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(u)", 891s # arg_u)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpk636_gh0.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpk636_gh0.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_x", 891s # (gchar *) "x", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodX", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-x", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_x ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-x", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_x, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_x: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_x ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodX", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_x_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_x_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gint64 *out_arg_x, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(x)", 891s # out_arg_x); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_x_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_x_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gint64 *out_arg_x, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodX", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(x)", 891s # out_arg_x); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_x: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_x: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_x ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # gint64 arg_x) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(x)", 891s # arg_x)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpw23mvvsf.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpw23mvvsf.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_t", 891s # (gchar *) "t", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodT", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-t", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_t ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-t", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_t, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_t: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_t ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodT", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_t_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_t_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # guint64 *out_arg_t, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(t)", 891s # out_arg_t); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_t_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_t_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # guint64 *out_arg_t, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodT", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(t)", 891s # out_arg_t); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_t: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_t: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_t ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # guint64 arg_t) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(t)", 891s # arg_t)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpx9pewr_2.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpx9pewr_2.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_d", 891s # (gchar *) "d", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodD", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-d", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_d ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-d", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_d, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_d: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_d ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodD", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_d_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_d_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gdouble *out_arg_d, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(d)", 891s # out_arg_d); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_d_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_d_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gdouble *out_arg_d, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodD", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(d)", 891s # out_arg_d); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_d: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_d: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_d ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # gdouble arg_d) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(d)", 891s # arg_d)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpn0m7h4i7.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpn0m7h4i7.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_s", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodS", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-s", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_s ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-s", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_s, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_s: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_s ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodS", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_s_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_s_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_s, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(s)", 891s # out_arg_s); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_s_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_s_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_s, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodS", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(s)", 891s # out_arg_s); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_s: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_s: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_s ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # const gchar *arg_s) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(s)", 891s # arg_s)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpi7h5cw8v.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpi7h5cw8v.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_o", 891s # (gchar *) "o", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodO", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-o", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_o ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-o", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_o, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_o: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_o ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodO", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_o_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_o_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_o, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(o)", 891s # out_arg_o); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_o_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_o_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_o, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodO", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(o)", 891s # out_arg_o); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_o: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_o: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_o ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # const gchar *arg_o) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(o)", 891s # arg_o)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpet87omdk.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpet87omdk.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_g", 891s # (gchar *) "g", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodG", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-g", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_g ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-g", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_g, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_g: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_g ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodG", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_g_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_g_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_g, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(g)", 891s # out_arg_g); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_g_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_g_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_g, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodG", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(g)", 891s # out_arg_g); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_g: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_g: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_g ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # const gchar *arg_g) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(g)", 891s # arg_g)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpdz7vp1x7.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpdz7vp1x7.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_h", 891s # (gchar *) "h", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodH", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-h", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_h ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-h", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_h, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_h: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_h ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodH", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_h_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_h_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # GVariant **out_arg_h, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(@h)", 891s # out_arg_h); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_h_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_h_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # GVariant **out_arg_h, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodH", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(@h)", 891s # out_arg_h); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_h: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_h: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_h ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *arg_h) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(@h)", 891s # arg_h)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpo6jdve_j.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpo6jdve_j.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_ay", 891s # (gchar *) "ay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodAy", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-ay", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-ay", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_ay, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_ay: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_ay ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAy", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_ay_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_ay_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_ay, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^ay)", 891s # out_arg_ay); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_ay_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_ay_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar **out_arg_ay, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAy", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^ay)", 891s # out_arg_ay); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_ay: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_ay: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_ay ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # const gchar *arg_ay) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(^ay)", 891s # arg_ay)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpqryc4smg.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpqryc4smg.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_as", 891s # (gchar *) "as", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodAs", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-as", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_as ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-as", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_as, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_as: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_as ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAs", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_as_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_as_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar ***out_arg_as, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^as)", 891s # out_arg_as); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_as_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_as_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar ***out_arg_as, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAs", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^as)", 891s # out_arg_as); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_as: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_as: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_as ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # const gchar *const *arg_as) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(^as)", 891s # arg_as)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmpyhx1f3je.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmpyhx1f3je.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_ao", 891s # (gchar *) "ao", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodAo", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-ao", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-ao", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_ao, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_ao: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_ao ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAo", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_ao_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_ao_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar ***out_arg_ao, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^ao)", 891s # out_arg_ao); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_ao_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_ao_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar ***out_arg_ao, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAo", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^ao)", 891s # out_arg_ao); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_ao: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_ao: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_ao ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # const gchar *const *arg_ao) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(^ao)", 891s # arg_ao)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmp2ieqz3ap.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmp2ieqz3ap.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_aay", 891s # (gchar *) "aay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodAay", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-aay", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-aay", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_aay, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_aay: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_aay ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAay", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_aay_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_aay_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar ***out_arg_aay, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^aay)", 891s # out_arg_aay); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_aay_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_aay_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # gchar ***out_arg_aay, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAay", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(^aay)", 891s # out_arg_aay); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_aay: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_aay: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_aay ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # const gchar *const *arg_aay) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(^aay)", 891s # arg_aay)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # /tmp/tmp8ny_89j9/tmps_1k6cpo.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ny_89j9/tmps_1k6cpo.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "arg_asv", 891s # (gchar *) "a{sv}", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgMethodAsv", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-single-arg-method-asv", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-single-arg-method-asv", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_useful_interface_method_marshal_single_arg_method_asv, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_asv: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_useful_interface_call_single_arg_method_asv ( 891s # OrgProjectUsefulInterface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAsv", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_asv_finish: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_asv_finish ( 891s # OrgProjectUsefulInterface *proxy, 891s # GVariant **out_arg_asv, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(@a{sv})", 891s # out_arg_asv); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_call_single_arg_method_asv_sync: 891s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 891s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_useful_interface_call_single_arg_method_asv_sync ( 891s # OrgProjectUsefulInterface *proxy, 891s # GVariant **out_arg_asv, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SingleArgMethodAsv", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(@a{sv})", 891s # out_arg_asv); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_complete_single_arg_method_asv: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @arg_asv: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_useful_interface_complete_single_arg_method_asv ( 891s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # GVariant *arg_asv) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(@a{sv})", 891s # arg_asv)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 891s # tmpdir: /tmp/tmptl1anju0 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmptl1anju0/tmppkvnmu8y.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptl1anju0/tmppkvnmu8y.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 20); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # g_marshal_value_peek_boolean (param_values + 2), 891s # g_marshal_value_peek_uchar (param_values + 3), 891s # g_marshal_value_peek_int (param_values + 4), 891s # g_marshal_value_peek_uint (param_values + 5), 891s # g_marshal_value_peek_int (param_values + 6), 891s # g_marshal_value_peek_uint (param_values + 7), 891s # g_marshal_value_peek_int64 (param_values + 8), 891s # g_marshal_value_peek_uint64 (param_values + 9), 891s # g_marshal_value_peek_double (param_values + 10), 891s # g_marshal_value_peek_string (param_values + 11), 891s # g_marshal_value_peek_string (param_values + 12), 891s # g_marshal_value_peek_string (param_values + 13), 891s # g_marshal_value_peek_variant (param_values + 14), 891s # g_marshal_value_peek_string (param_values + 15), 891s # g_marshal_value_peek_boxed (param_values + 16), 891s # g_marshal_value_peek_boxed (param_values + 17), 891s # g_marshal_value_peek_boxed (param_values + 18), 891s # g_marshal_value_peek_variant (param_values + 19), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.CallableIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectCallableIface 891s # * @title: OrgProjectCallableIface 891s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.CallableIface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_b", 891s # (gchar *) "b", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_y", 891s # (gchar *) "y", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_n", 891s # (gchar *) "n", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_q", 891s # (gchar *) "q", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_i", 891s # (gchar *) "i", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_u", 891s # (gchar *) "u", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_x", 891s # (gchar *) "x", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_t", 891s # (gchar *) "t", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_d", 891s # (gchar *) "d", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_s", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_o", 891s # (gchar *) "o", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_g", 891s # (gchar *) "g", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_h", 891s # (gchar *) "h", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ay", 891s # (gchar *) "ay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_as", 891s # (gchar *) "as", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ao", 891s # (gchar *) "ao", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_aay", 891s # (gchar *) "aay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_asv", 891s # (gchar *) "a{sv}", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 891s # { 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 891s # { 891s # { 891s # -1, 891s # (gchar *) "MethodWithManyArgs", 891s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-method-with-many-args", 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_b", 891s # (gchar *) "b", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_y", 891s # (gchar *) "y", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_n", 891s # (gchar *) "n", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_q", 891s # (gchar *) "q", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_i", 891s # (gchar *) "i", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_u", 891s # (gchar *) "u", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_x", 891s # (gchar *) "x", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_t", 891s # (gchar *) "t", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_d", 891s # (gchar *) "d", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_s", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_o", 891s # (gchar *) "o", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_g", 891s # (gchar *) "g", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_h", 891s # (gchar *) "h", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ay", 891s # (gchar *) "ay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_as", 891s # (gchar *) "as", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ao", 891s # (gchar *) "ao", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_aay", 891s # (gchar *) "aay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_asv", 891s # (gchar *) "a{sv}", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 891s # { 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SameMethodWithManyArgs", 891s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-same-method-with-many-args", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 891s # { 891s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 891s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.CallableIface", 891s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-callable-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_callable_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_callable_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_callable_iface_method_marshal_method_with_many_args ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _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, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _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, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectCallableIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 891s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.CallableIface. 891s # */ 891s # 891s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectCallableIface::handle-method-with-many-args: 891s # * @object: A #OrgProjectCallableIface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * @arg_an_b: Argument passed by remote caller. 891s # * @arg_an_y: Argument passed by remote caller. 891s # * @arg_an_n: Argument passed by remote caller. 891s # * @arg_an_q: Argument passed by remote caller. 891s # * @arg_an_i: Argument passed by remote caller. 891s # * @arg_an_u: Argument passed by remote caller. 891s # * @arg_an_x: Argument passed by remote caller. 891s # * @arg_an_t: Argument passed by remote caller. 891s # * @arg_an_d: Argument passed by remote caller. 891s # * @arg_an_s: Argument passed by remote caller. 891s # * @arg_an_o: Argument passed by remote caller. 891s # * @arg_an_g: Argument passed by remote caller. 891s # * @arg_an_h: Argument passed by remote caller. 891s # * @arg_an_ay: Argument passed by remote caller. 891s # * @arg_an_as: Argument passed by remote caller. 891s # * @arg_an_ao: Argument passed by remote caller. 891s # * @arg_an_aay: Argument passed by remote caller. 891s # * @arg_an_asv: Argument passed by remote caller. 891s # * 891s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-method-with-many-args", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_callable_iface_method_marshal_method_with_many_args, 891s # G_TYPE_BOOLEAN, 891s # 19, 891s # 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); 891s # 891s # /** 891s # * OrgProjectCallableIface::handle-same-method-with-many-args: 891s # * @object: A #OrgProjectCallableIface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * @arg_an_b: Argument passed by remote caller. 891s # * @arg_an_y: Argument passed by remote caller. 891s # * @arg_an_n: Argument passed by remote caller. 891s # * @arg_an_q: Argument passed by remote caller. 891s # * @arg_an_i: Argument passed by remote caller. 891s # * @arg_an_u: Argument passed by remote caller. 891s # * @arg_an_x: Argument passed by remote caller. 891s # * @arg_an_t: Argument passed by remote caller. 891s # * @arg_an_d: Argument passed by remote caller. 891s # * @arg_an_s: Argument passed by remote caller. 891s # * @arg_an_o: Argument passed by remote caller. 891s # * @arg_an_g: Argument passed by remote caller. 891s # * @arg_an_h: Argument passed by remote caller. 891s # * @arg_an_ay: Argument passed by remote caller. 891s # * @arg_an_as: Argument passed by remote caller. 891s # * @arg_an_ao: Argument passed by remote caller. 891s # * @arg_an_aay: Argument passed by remote caller. 891s # * @arg_an_asv: Argument passed by remote caller. 891s # * 891s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-same-method-with-many-args", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_callable_iface_method_marshal_same_method_with_many_args, 891s # G_TYPE_BOOLEAN, 891s # 19, 891s # 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); 891s # 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_method_with_many_args: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @arg_an_b: Argument to pass with the method invocation. 891s # * @arg_an_y: Argument to pass with the method invocation. 891s # * @arg_an_n: Argument to pass with the method invocation. 891s # * @arg_an_q: Argument to pass with the method invocation. 891s # * @arg_an_i: Argument to pass with the method invocation. 891s # * @arg_an_u: Argument to pass with the method invocation. 891s # * @arg_an_x: Argument to pass with the method invocation. 891s # * @arg_an_t: Argument to pass with the method invocation. 891s # * @arg_an_d: Argument to pass with the method invocation. 891s # * @arg_an_s: Argument to pass with the method invocation. 891s # * @arg_an_o: Argument to pass with the method invocation. 891s # * @arg_an_g: Argument to pass with the method invocation. 891s # * @arg_an_h: Argument to pass with the method invocation. 891s # * @arg_an_ay: Argument to pass with the method invocation. 891s # * @arg_an_as: Argument to pass with the method invocation. 891s # * @arg_an_ao: Argument to pass with the method invocation. 891s # * @arg_an_aay: Argument to pass with the method invocation. 891s # * @arg_an_asv: Argument to pass with the method invocation. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 891s # * 891s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_callable_iface_call_method_with_many_args ( 891s # OrgProjectCallableIface *proxy, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "MethodWithManyArgs", 891s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # arg_an_b, 891s # arg_an_y, 891s # arg_an_n, 891s # arg_an_q, 891s # arg_an_i, 891s # arg_an_u, 891s # arg_an_x, 891s # arg_an_t, 891s # arg_an_d, 891s # arg_an_s, 891s # arg_an_o, 891s # arg_an_g, 891s # arg_an_h, 891s # arg_an_ay, 891s # arg_an_as, 891s # arg_an_ao, 891s # arg_an_aay, 891s # arg_an_asv), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_method_with_many_args_finish: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_callable_iface_call_method_with_many_args_finish ( 891s # OrgProjectCallableIface *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_method_with_many_args_sync: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @arg_an_b: Argument to pass with the method invocation. 891s # * @arg_an_y: Argument to pass with the method invocation. 891s # * @arg_an_n: Argument to pass with the method invocation. 891s # * @arg_an_q: Argument to pass with the method invocation. 891s # * @arg_an_i: Argument to pass with the method invocation. 891s # * @arg_an_u: Argument to pass with the method invocation. 891s # * @arg_an_x: Argument to pass with the method invocation. 891s # * @arg_an_t: Argument to pass with the method invocation. 891s # * @arg_an_d: Argument to pass with the method invocation. 891s # * @arg_an_s: Argument to pass with the method invocation. 891s # * @arg_an_o: Argument to pass with the method invocation. 891s # * @arg_an_g: Argument to pass with the method invocation. 891s # * @arg_an_h: Argument to pass with the method invocation. 891s # * @arg_an_ay: Argument to pass with the method invocation. 891s # * @arg_an_as: Argument to pass with the method invocation. 891s # * @arg_an_ao: Argument to pass with the method invocation. 891s # * @arg_an_aay: Argument to pass with the method invocation. 891s # * @arg_an_asv: Argument to pass with the method invocation. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_callable_iface_call_method_with_many_args_sync ( 891s # OrgProjectCallableIface *proxy, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "MethodWithManyArgs", 891s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # arg_an_b, 891s # arg_an_y, 891s # arg_an_n, 891s # arg_an_q, 891s # arg_an_i, 891s # arg_an_u, 891s # arg_an_x, 891s # arg_an_t, 891s # arg_an_d, 891s # arg_an_s, 891s # arg_an_o, 891s # arg_an_g, 891s # arg_an_h, 891s # arg_an_ay, 891s # arg_an_as, 891s # arg_an_ao, 891s # arg_an_aay, 891s # arg_an_asv), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_same_method_with_many_args: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @arg_an_b: Argument to pass with the method invocation. 891s # * @arg_an_y: Argument to pass with the method invocation. 891s # * @arg_an_n: Argument to pass with the method invocation. 891s # * @arg_an_q: Argument to pass with the method invocation. 891s # * @arg_an_i: Argument to pass with the method invocation. 891s # * @arg_an_u: Argument to pass with the method invocation. 891s # * @arg_an_x: Argument to pass with the method invocation. 891s # * @arg_an_t: Argument to pass with the method invocation. 891s # * @arg_an_d: Argument to pass with the method invocation. 891s # * @arg_an_s: Argument to pass with the method invocation. 891s # * @arg_an_o: Argument to pass with the method invocation. 891s # * @arg_an_g: Argument to pass with the method invocation. 891s # * @arg_an_h: Argument to pass with the method invocation. 891s # * @arg_an_ay: Argument to pass with the method invocation. 891s # * @arg_an_as: Argument to pass with the method invocation. 891s # * @arg_an_ao: Argument to pass with the method invocation. 891s # * @arg_an_aay: Argument to pass with the method invocation. 891s # * @arg_an_asv: Argument to pass with the method invocation. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 891s # * 891s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_callable_iface_call_same_method_with_many_args ( 891s # OrgProjectCallableIface *proxy, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "SameMethodWithManyArgs", 891s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # arg_an_b, 891s # arg_an_y, 891s # arg_an_n, 891s # arg_an_q, 891s # arg_an_i, 891s # arg_an_u, 891s # arg_an_x, 891s # arg_an_t, 891s # arg_an_d, 891s # arg_an_s, 891s # arg_an_o, 891s # arg_an_g, 891s # arg_an_h, 891s # arg_an_ay, 891s # arg_an_as, 891s # arg_an_ao, 891s # arg_an_aay, 891s # arg_an_asv), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_same_method_with_many_args_finish: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_callable_iface_call_same_method_with_many_args_finish ( 891s # OrgProjectCallableIface *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_same_method_with_many_args_sync: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @arg_an_b: Argument to pass with the method invocation. 891s # * @arg_an_y: Argument to pass with the method invocation. 891s # * @arg_an_n: Argument to pass with the method invocation. 891s # * @arg_an_q: Argument to pass with the method invocation. 891s # * @arg_an_i: Argument to pass with the method invocation. 891s # * @arg_an_u: Argument to pass with the method invocation. 891s # * @arg_an_x: Argument to pass with the method invocation. 891s # * @arg_an_t: Argument to pass with the method invocation. 891s # * @arg_an_d: Argument to pass with the method invocation. 891s # * @arg_an_s: Argument to pass with the method invocation. 891s # * @arg_an_o: Argument to pass with the method invocation. 891s # * @arg_an_g: Argument to pass with the method invocation. 891s # * @arg_an_h: Argument to pass with the method invocation. 891s # * @arg_an_ay: Argument to pass with the method invocation. 891s # * @arg_an_as: Argument to pass with the method invocation. 891s # * @arg_an_ao: Argument to pass with the method invocation. 891s # * @arg_an_aay: Argument to pass with the method invocation. 891s # * @arg_an_asv: Argument to pass with the method invocation. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_callable_iface_call_same_method_with_many_args_sync ( 891s # OrgProjectCallableIface *proxy, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "SameMethodWithManyArgs", 891s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # arg_an_b, 891s # arg_an_y, 891s # arg_an_n, 891s # arg_an_q, 891s # arg_an_i, 891s # arg_an_u, 891s # arg_an_x, 891s # arg_an_t, 891s # arg_an_d, 891s # arg_an_s, 891s # arg_an_o, 891s # arg_an_g, 891s # arg_an_h, 891s # arg_an_ay, 891s # arg_an_as, 891s # arg_an_ao, 891s # arg_an_aay, 891s # arg_an_asv), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_complete_method_with_many_args: 891s # * @object: A #OrgProjectCallableIface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_callable_iface_complete_method_with_many_args ( 891s # OrgProjectCallableIface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_complete_same_method_with_many_args: 891s # * @object: A #OrgProjectCallableIface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_callable_iface_complete_same_method_with_many_args ( 891s # OrgProjectCallableIface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceProxy: 891s # * 891s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectCallableIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectCallableIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_callable_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_callable_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_callable_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceSkeleton: 891s # * 891s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectCallableIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectCallableIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_callable_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_callable_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_callable_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 891s # { 891s # _org_project_callable_iface_skeleton_handle_method_call, 891s # _org_project_callable_iface_skeleton_handle_get_property, 891s # _org_project_callable_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_callable_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_callable_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.OtherCallableIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectOtherCallableIface 891s # * @title: OrgProjectOtherCallableIface 891s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_b", 891s # (gchar *) "b", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_y", 891s # (gchar *) "y", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_n", 891s # (gchar *) "n", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_q", 891s # (gchar *) "q", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_i", 891s # (gchar *) "i", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_u", 891s # (gchar *) "u", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_x", 891s # (gchar *) "x", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_t", 891s # (gchar *) "t", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_d", 891s # (gchar *) "d", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_s", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_o", 891s # (gchar *) "o", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_g", 891s # (gchar *) "g", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_h", 891s # (gchar *) "h", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ay", 891s # (gchar *) "ay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_as", 891s # (gchar *) "as", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ao", 891s # (gchar *) "ao", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_aay", 891s # (gchar *) "aay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_asv", 891s # (gchar *) "a{sv}", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 891s # { 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 891s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 891s # { 891s # { 891s # -1, 891s # (gchar *) "MethodWithManyArgs", 891s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "handle-method-with-many-args", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 891s # { 891s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.OtherCallableIface", 891s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-other-callable-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_other_callable_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_other_callable_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _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, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectOtherCallableIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherCallableIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 891s # */ 891s # 891s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 891s # * @object: A #OrgProjectOtherCallableIface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * @arg_an_b: Argument passed by remote caller. 891s # * @arg_an_y: Argument passed by remote caller. 891s # * @arg_an_n: Argument passed by remote caller. 891s # * @arg_an_q: Argument passed by remote caller. 891s # * @arg_an_i: Argument passed by remote caller. 891s # * @arg_an_u: Argument passed by remote caller. 891s # * @arg_an_x: Argument passed by remote caller. 891s # * @arg_an_t: Argument passed by remote caller. 891s # * @arg_an_d: Argument passed by remote caller. 891s # * @arg_an_s: Argument passed by remote caller. 891s # * @arg_an_o: Argument passed by remote caller. 891s # * @arg_an_g: Argument passed by remote caller. 891s # * @arg_an_h: Argument passed by remote caller. 891s # * @arg_an_ay: Argument passed by remote caller. 891s # * @arg_an_as: Argument passed by remote caller. 891s # * @arg_an_ao: Argument passed by remote caller. 891s # * @arg_an_aay: Argument passed by remote caller. 891s # * @arg_an_asv: Argument passed by remote caller. 891s # * 891s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-method-with-many-args", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_other_callable_iface_method_marshal_method_with_many_args, 891s # G_TYPE_BOOLEAN, 891s # 19, 891s # 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); 891s # 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_call_method_with_many_args: 891s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 891s # * @arg_an_b: Argument to pass with the method invocation. 891s # * @arg_an_y: Argument to pass with the method invocation. 891s # * @arg_an_n: Argument to pass with the method invocation. 891s # * @arg_an_q: Argument to pass with the method invocation. 891s # * @arg_an_i: Argument to pass with the method invocation. 891s # * @arg_an_u: Argument to pass with the method invocation. 891s # * @arg_an_x: Argument to pass with the method invocation. 891s # * @arg_an_t: Argument to pass with the method invocation. 891s # * @arg_an_d: Argument to pass with the method invocation. 891s # * @arg_an_s: Argument to pass with the method invocation. 891s # * @arg_an_o: Argument to pass with the method invocation. 891s # * @arg_an_g: Argument to pass with the method invocation. 891s # * @arg_an_h: Argument to pass with the method invocation. 891s # * @arg_an_ay: Argument to pass with the method invocation. 891s # * @arg_an_as: Argument to pass with the method invocation. 891s # * @arg_an_ao: Argument to pass with the method invocation. 891s # * @arg_an_aay: Argument to pass with the method invocation. 891s # * @arg_an_asv: Argument to pass with the method invocation. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 891s # * 891s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_other_callable_iface_call_method_with_many_args ( 891s # OrgProjectOtherCallableIface *proxy, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "MethodWithManyArgs", 891s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # arg_an_b, 891s # arg_an_y, 891s # arg_an_n, 891s # arg_an_q, 891s # arg_an_i, 891s # arg_an_u, 891s # arg_an_x, 891s # arg_an_t, 891s # arg_an_d, 891s # arg_an_s, 891s # arg_an_o, 891s # arg_an_g, 891s # arg_an_h, 891s # arg_an_ay, 891s # arg_an_as, 891s # arg_an_ao, 891s # arg_an_aay, 891s # arg_an_asv), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_call_method_with_many_args_finish: 891s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_other_callable_iface_call_method_with_many_args_finish ( 891s # OrgProjectOtherCallableIface *proxy, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_call_method_with_many_args_sync: 891s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 891s # * @arg_an_b: Argument to pass with the method invocation. 891s # * @arg_an_y: Argument to pass with the method invocation. 891s # * @arg_an_n: Argument to pass with the method invocation. 891s # * @arg_an_q: Argument to pass with the method invocation. 891s # * @arg_an_i: Argument to pass with the method invocation. 891s # * @arg_an_u: Argument to pass with the method invocation. 891s # * @arg_an_x: Argument to pass with the method invocation. 891s # * @arg_an_t: Argument to pass with the method invocation. 891s # * @arg_an_d: Argument to pass with the method invocation. 891s # * @arg_an_s: Argument to pass with the method invocation. 891s # * @arg_an_o: Argument to pass with the method invocation. 891s # * @arg_an_g: Argument to pass with the method invocation. 891s # * @arg_an_h: Argument to pass with the method invocation. 891s # * @arg_an_ay: Argument to pass with the method invocation. 891s # * @arg_an_as: Argument to pass with the method invocation. 891s # * @arg_an_ao: Argument to pass with the method invocation. 891s # * @arg_an_aay: Argument to pass with the method invocation. 891s # * @arg_an_asv: Argument to pass with the method invocation. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_other_callable_iface_call_method_with_many_args_sync ( 891s # OrgProjectOtherCallableIface *proxy, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "MethodWithManyArgs", 891s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # arg_an_b, 891s # arg_an_y, 891s # arg_an_n, 891s # arg_an_q, 891s # arg_an_i, 891s # arg_an_u, 891s # arg_an_x, 891s # arg_an_t, 891s # arg_an_d, 891s # arg_an_s, 891s # arg_an_o, 891s # arg_an_g, 891s # arg_an_h, 891s # arg_an_ay, 891s # arg_an_as, 891s # arg_an_ao, 891s # arg_an_aay, 891s # arg_an_asv), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "()"); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_complete_method_with_many_args: 891s # * @object: A #OrgProjectOtherCallableIface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_other_callable_iface_complete_method_with_many_args ( 891s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("()")); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectOtherCallableIfaceProxy: 891s # * 891s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherCallableIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectOtherCallableIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_other_callable_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_other_callable_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherCallableIface * 891s # org_project_other_callable_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherCallableIface * 891s # org_project_other_callable_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_other_callable_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_other_callable_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherCallableIface * 891s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherCallableIface * 891s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectOtherCallableIfaceSkeleton: 891s # * 891s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherCallableIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_other_callable_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_other_callable_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_other_callable_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 891s # { 891s # _org_project_other_callable_iface_skeleton_handle_method_call, 891s # _org_project_other_callable_iface_skeleton_handle_get_property, 891s # _org_project_other_callable_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_other_callable_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_other_callable_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectOtherCallableIface * 891s # org_project_other_callable_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 891s # } 891s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 891s # tmpdir: /tmp/tmpjryr0p59 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmpjryr0p59/tmphystw64n.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjryr0p59/tmphystw64n.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (void *data1, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.CallableIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectCallableIface 891s # * @title: OrgProjectCallableIface 891s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for org.project.CallableIface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_b", 891s # (gchar *) "b", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_y", 891s # (gchar *) "y", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_n", 891s # (gchar *) "n", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_q", 891s # (gchar *) "q", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_i", 891s # (gchar *) "i", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_u", 891s # (gchar *) "u", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_x", 891s # (gchar *) "x", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_t", 891s # (gchar *) "t", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_d", 891s # (gchar *) "d", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_s", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_o", 891s # (gchar *) "o", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_g", 891s # (gchar *) "g", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_h", 891s # (gchar *) "h", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ay", 891s # (gchar *) "ay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_as", 891s # (gchar *) "as", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ao", 891s # (gchar *) "ao", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_aay", 891s # (gchar *) "aay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_asv", 891s # (gchar *) "a{sv}", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 891s # { 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 891s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 891s # { 891s # { 891s # -1, 891s # (gchar *) "MethodWithManyArgs", 891s # NULL, 891s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-method-with-many-args", 891s # FALSE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 891s # { 891s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.CallableIface", 891s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-callable-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_callable_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_callable_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_callable_iface_method_marshal_method_with_many_args ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectCallableIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.CallableIface. 891s # */ 891s # 891s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * OrgProjectCallableIface::handle-method-with-many-args: 891s # * @object: A #OrgProjectCallableIface. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * 891s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-method-with-many-args", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # org_project_callable_iface_method_marshal_method_with_many_args, 891s # G_TYPE_BOOLEAN, 891s # 1, 891s # G_TYPE_DBUS_METHOD_INVOCATION); 891s # 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_method_with_many_args: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 891s # * 891s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # org_project_callable_iface_call_method_with_many_args ( 891s # OrgProjectCallableIface *proxy, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 891s # "MethodWithManyArgs", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_method_with_many_args_finish: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_callable_iface_call_method_with_many_args_finish ( 891s # OrgProjectCallableIface *proxy, 891s # gboolean *out_an_b, 891s # guchar *out_an_y, 891s # gint16 *out_an_n, 891s # guint16 *out_an_q, 891s # gint *out_an_i, 891s # guint *out_an_u, 891s # gint64 *out_an_x, 891s # guint64 *out_an_t, 891s # gdouble *out_an_d, 891s # gchar **out_an_s, 891s # gchar **out_an_o, 891s # gchar **out_an_g, 891s # GVariant **out_an_h, 891s # gchar **out_an_ay, 891s # gchar ***out_an_as, 891s # gchar ***out_an_ao, 891s # gchar ***out_an_aay, 891s # GVariant **out_an_asv, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # out_an_b, 891s # out_an_y, 891s # out_an_n, 891s # out_an_q, 891s # out_an_i, 891s # out_an_u, 891s # out_an_x, 891s # out_an_t, 891s # out_an_d, 891s # out_an_s, 891s # out_an_o, 891s # out_an_g, 891s # out_an_h, 891s # out_an_ay, 891s # out_an_as, 891s # out_an_ao, 891s # out_an_aay, 891s # out_an_asv); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_call_method_with_many_args_sync: 891s # * @proxy: A #OrgProjectCallableIfaceProxy. 891s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 891s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # org_project_callable_iface_call_method_with_many_args_sync ( 891s # OrgProjectCallableIface *proxy, 891s # gboolean *out_an_b, 891s # guchar *out_an_y, 891s # gint16 *out_an_n, 891s # guint16 *out_an_q, 891s # gint *out_an_i, 891s # guint *out_an_u, 891s # gint64 *out_an_x, 891s # guint64 *out_an_t, 891s # gdouble *out_an_d, 891s # gchar **out_an_s, 891s # gchar **out_an_o, 891s # gchar **out_an_g, 891s # GVariant **out_an_h, 891s # gchar **out_an_ay, 891s # gchar ***out_an_as, 891s # gchar ***out_an_ao, 891s # gchar ***out_an_aay, 891s # GVariant **out_an_asv, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 891s # "MethodWithManyArgs", 891s # g_variant_new ("()"), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # out_an_b, 891s # out_an_y, 891s # out_an_n, 891s # out_an_q, 891s # out_an_i, 891s # out_an_u, 891s # out_an_x, 891s # out_an_t, 891s # out_an_d, 891s # out_an_s, 891s # out_an_o, 891s # out_an_g, 891s # out_an_h, 891s # out_an_ay, 891s # out_an_as, 891s # out_an_ao, 891s # out_an_aay, 891s # out_an_asv); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_complete_method_with_many_args: 891s # * @object: A #OrgProjectCallableIface. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @an_b: Parameter to return. 891s # * @an_y: Parameter to return. 891s # * @an_n: Parameter to return. 891s # * @an_q: Parameter to return. 891s # * @an_i: Parameter to return. 891s # * @an_u: Parameter to return. 891s # * @an_x: Parameter to return. 891s # * @an_t: Parameter to return. 891s # * @an_d: Parameter to return. 891s # * @an_s: Parameter to return. 891s # * @an_o: Parameter to return. 891s # * @an_g: Parameter to return. 891s # * @an_h: Parameter to return. 891s # * @an_ay: Parameter to return. 891s # * @an_as: Parameter to return. 891s # * @an_ao: Parameter to return. 891s # * @an_aay: Parameter to return. 891s # * @an_asv: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # org_project_callable_iface_complete_method_with_many_args ( 891s # OrgProjectCallableIface *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # gboolean an_b, 891s # guchar an_y, 891s # gint16 an_n, 891s # guint16 an_q, 891s # gint an_i, 891s # guint an_u, 891s # gint64 an_x, 891s # guint64 an_t, 891s # gdouble an_d, 891s # const gchar *an_s, 891s # const gchar *an_o, 891s # const gchar *an_g, 891s # GVariant *an_h, 891s # const gchar *an_ay, 891s # const gchar *const *an_as, 891s # const gchar *const *an_ao, 891s # const gchar *const *an_aay, 891s # GVariant *an_asv) 891s # { 891s # g_dbus_method_invocation_return_value (invocation, 891s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # an_b, 891s # an_y, 891s # an_n, 891s # an_q, 891s # an_i, 891s # an_u, 891s # an_x, 891s # an_t, 891s # an_d, 891s # an_s, 891s # an_o, 891s # an_g, 891s # an_h, 891s # an_ay, 891s # an_as, 891s # an_ao, 891s # an_aay, 891s # an_asv)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceProxy: 891s # * 891s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectCallableIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectCallableIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_callable_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_callable_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_callable_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_CALLABLE_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceSkeleton: 891s # * 891s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectCallableIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectCallableIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectCallableIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_callable_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_callable_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_callable_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 891s # { 891s # _org_project_callable_iface_skeleton_handle_method_call, 891s # _org_project_callable_iface_skeleton_handle_get_property, 891s # _org_project_callable_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_callable_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_callable_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_callable_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectCallableIface * 891s # org_project_callable_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 891s # } 891s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 891s # tmpdir: /tmp/tmpdhcbswkq 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmpdhcbswkq/tmpk2my28cz.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhcbswkq/tmpk2my28cz.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 891s # (void *data1, 891s # GUnixFDList *arg_fd_list, 891s # GDBusMethodInvocation *arg_method_invocation, 891s # const gchar *arg_greeting, 891s # void *data2); 891s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # gboolean v_return; 891s # 891s # g_return_if_fail (return_value != NULL); 891s # g_return_if_fail (n_param_values == 4); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # v_return = 891s # callback (data1, 891s # g_marshal_value_peek_object (param_values + 1), 891s # g_marshal_value_peek_object (param_values + 2), 891s # g_marshal_value_peek_string (param_values + 3), 891s # data2); 891s # 891s # g_value_set_boolean (return_value, v_return); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface test.FDPassing 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:TestFDPassing 891s # * @title: TestFDPassing 891s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 891s # * 891s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 891s # */ 891s # 891s # /* ---- Introspection data for test.FDPassing ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 891s # { 891s # { 891s # -1, 891s # (gchar *) "greeting", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 891s # { 891s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 891s # { 891s # { 891s # -1, 891s # (gchar *) "response", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 891s # { 891s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 891s # { 891s # { 891s # -1, 891s # (gchar *) "HelloFD", 891s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 891s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 891s # NULL 891s # }, 891s # "handle-hello-fd", 891s # TRUE 891s # }; 891s # 891s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 891s # { 891s # &_test_fdpassing_method_info_hello_fd.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "test.FDPassing", 891s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 891s # NULL, 891s # NULL, 891s # NULL 891s # }, 891s # "test-fdpassing", 891s # }; 891s # 891s # 891s # /** 891s # * test_fdpassing_interface_info: 891s # * 891s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # test_fdpassing_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * test_fdpassing_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # test_fdpassing_method_marshal_hello_fd ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * TestFDPassing: 891s # * 891s # * Abstract interface type for the D-Bus interface test.FDPassing. 891s # */ 891s # 891s # /** 891s # * TestFDPassingIface: 891s # * @parent_iface: The parent interface. 891s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 891s # * 891s # * Virtual table for the D-Bus interface test.FDPassing. 891s # */ 891s # 891s # typedef TestFDPassingIface TestFDPassingInterface; 891s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 891s # 891s # static void 891s # test_fdpassing_default_init (TestFDPassingIface *iface) 891s # { 891s # /* GObject signals for incoming D-Bus method calls: */ 891s # /** 891s # * TestFDPassing::handle-hello-fd: 891s # * @object: A #TestFDPassing. 891s # * @invocation: A #GDBusMethodInvocation. 891s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 891s # * @arg_greeting: Argument passed by remote caller. 891s # * 891s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 891s # * 891s # * 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. 891s # * 891s # * 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. 891s # */ 891s # g_signal_new ("handle-hello-fd", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 891s # g_signal_accumulator_true_handled, 891s # NULL, 891s # test_fdpassing_method_marshal_hello_fd, 891s # G_TYPE_BOOLEAN, 891s # 3, 891s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 891s # 891s # } 891s # 891s # /** 891s # * test_fdpassing_call_hello_fd: 891s # * @proxy: A #TestFDPassingProxy. 891s # * @arg_greeting: Argument to pass with the method invocation. 891s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 891s # * 891s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 891s # */ 891s # void 891s # test_fdpassing_call_hello_fd ( 891s # TestFDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GUnixFDList *fd_list, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 891s # "HelloFD", 891s # g_variant_new ("(s)", 891s # arg_greeting), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # fd_list, 891s # cancellable, 891s # callback, 891s # user_data); 891s # } 891s # 891s # /** 891s # * test_fdpassing_call_hello_fd_finish: 891s # * @proxy: A #TestFDPassingProxy. 891s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # test_fdpassing_call_hello_fd_finish ( 891s # TestFDPassing *proxy, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(s)", 891s # out_response); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * test_fdpassing_call_hello_fd_sync: 891s # * @proxy: A #TestFDPassingProxy. 891s # * @arg_greeting: Argument to pass with the method invocation. 891s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 891s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 891s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL. 891s # * 891s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 891s # * 891s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 891s # * 891s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 891s # */ 891s # gboolean 891s # test_fdpassing_call_hello_fd_sync ( 891s # TestFDPassing *proxy, 891s # const gchar *arg_greeting, 891s # GUnixFDList *fd_list, 891s # gchar **out_response, 891s # GUnixFDList **out_fd_list, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GVariant *_ret; 891s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 891s # "HelloFD", 891s # g_variant_new ("(s)", 891s # arg_greeting), 891s # G_DBUS_CALL_FLAGS_NONE, 891s # -1, 891s # fd_list, 891s # out_fd_list, 891s # cancellable, 891s # error); 891s # if (_ret == NULL) 891s # goto _out; 891s # g_variant_get (_ret, 891s # "(s)", 891s # out_response); 891s # g_variant_unref (_ret); 891s # _out: 891s # return _ret != NULL; 891s # } 891s # 891s # /** 891s # * test_fdpassing_complete_hello_fd: 891s # * @object: A #TestFDPassing. 891s # * @invocation: (transfer full): A #GDBusMethodInvocation. 891s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 891s # * @response: Parameter to return. 891s # * 891s # * 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. 891s # * 891s # * This method will free @invocation, you cannot use it afterwards. 891s # */ 891s # void 891s # test_fdpassing_complete_hello_fd ( 891s # TestFDPassing *object G_GNUC_UNUSED, 891s # GDBusMethodInvocation *invocation, 891s # GUnixFDList *fd_list, 891s # const gchar *response) 891s # { 891s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 891s # g_variant_new ("(s)", 891s # response), 891s # fd_list); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * TestFDPassingProxy: 891s # * 891s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * TestFDPassingProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #TestFDPassingProxy. 891s # */ 891s # 891s # struct _TestFDPassingProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (TestFDPassingProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # test_fdpassing_proxy_finalize (GObject *object) 891s # { 891s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 891s # } 891s # 891s # static void 891s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = test_fdpassing_proxy_finalize; 891s # gobject_class->get_property = test_fdpassing_proxy_get_property; 891s # gobject_class->set_property = test_fdpassing_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 891s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * test_fdpassing_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # test_fdpassing_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * test_fdpassing_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with test_fdpassing_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # TestFDPassing * 891s # test_fdpassing_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return TEST_FDPASSING (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * test_fdpassing_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # TestFDPassing * 891s # test_fdpassing_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return TEST_FDPASSING (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * test_fdpassing_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # test_fdpassing_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * test_fdpassing_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # TestFDPassing * 891s # test_fdpassing_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return TEST_FDPASSING (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * test_fdpassing_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # TestFDPassing * 891s # test_fdpassing_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return TEST_FDPASSING (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * TestFDPassingSkeleton: 891s # * 891s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * TestFDPassingSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #TestFDPassingSkeleton. 891s # */ 891s # 891s # struct _TestFDPassingSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _test_fdpassing_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _test_fdpassing_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _test_fdpassing_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 891s # { 891s # _test_fdpassing_skeleton_handle_method_call, 891s # _test_fdpassing_skeleton_handle_get_property, 891s # _test_fdpassing_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return test_fdpassing_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (TestFDPassingSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # test_fdpassing_skeleton_finalize (GObject *object) 891s # { 891s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * test_fdpassing_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 891s # * 891s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 891s # */ 891s # TestFDPassing * 891s # test_fdpassing_skeleton_new (void) 891s # { 891s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 891s # } 891s ok 15 __main__.TestCodegen.test_generate_rst 891s # tmpdir: /tmp/tmppveta667 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmppveta667/tmplr2kkayy.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppveta667/tmplr2kkayy.xml', '--generate-rst', 'test'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: 891s ok 16 __main__.TestCodegen.test_generate_rst_method 891s # tmpdir: /tmp/tmpyqo0t8wm 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmpyqo0t8wm/tmpgm85_4c7.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyqo0t8wm/tmpgm85_4c7.xml', '--generate-rst', 'test'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: 891s ok 17 __main__.TestCodegen.test_generate_rst_property 891s # tmpdir: /tmp/tmpbosowru4 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmpbosowru4/tmpb63vr04h.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbosowru4/tmpb63vr04h.xml', '--generate-rst', 'test'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: 891s ok 18 __main__.TestCodegen.test_generate_rst_signal 891s # tmpdir: /tmp/tmp8p3xxebn 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmp8p3xxebn/tmp8oex0goq.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8p3xxebn/tmp8oex0goq.xml', '--generate-rst', 'test'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: 891s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 891s # tmpdir: /tmp/tmppoq42yt6 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmppoq42yt6/tmpkvnegd3z.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppoq42yt6/tmpkvnegd3z.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 891s # GClosure *closure, 891s # GValue *return_value G_GNUC_UNUSED, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 891s # (void *data1, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv, 891s # void *data2); 891s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # 891s # g_return_if_fail (n_param_values == 19); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # callback (data1, 891s # g_marshal_value_peek_boolean (param_values + 1), 891s # g_marshal_value_peek_uchar (param_values + 2), 891s # g_marshal_value_peek_int (param_values + 3), 891s # g_marshal_value_peek_uint (param_values + 4), 891s # g_marshal_value_peek_int (param_values + 5), 891s # g_marshal_value_peek_uint (param_values + 6), 891s # g_marshal_value_peek_int64 (param_values + 7), 891s # g_marshal_value_peek_uint64 (param_values + 8), 891s # g_marshal_value_peek_double (param_values + 9), 891s # g_marshal_value_peek_string (param_values + 10), 891s # g_marshal_value_peek_string (param_values + 11), 891s # g_marshal_value_peek_string (param_values + 12), 891s # g_marshal_value_peek_variant (param_values + 13), 891s # g_marshal_value_peek_string (param_values + 14), 891s # g_marshal_value_peek_boxed (param_values + 15), 891s # g_marshal_value_peek_boxed (param_values + 16), 891s # g_marshal_value_peek_boxed (param_values + 17), 891s # g_marshal_value_peek_variant (param_values + 18), 891s # data2); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.SignalingIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectSignalingIface 891s # * @title: OrgProjectSignalingIface 891s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 891s # }; 891s # 891s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 891s # 891s # /* ---- Introspection data for org.project.SignalingIface ---- */ 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_b", 891s # (gchar *) "b", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_y", 891s # (gchar *) "y", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_n", 891s # (gchar *) "n", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_q", 891s # (gchar *) "q", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_i", 891s # (gchar *) "i", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_u", 891s # (gchar *) "u", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_x", 891s # (gchar *) "x", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_t", 891s # (gchar *) "t", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_d", 891s # (gchar *) "d", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_s", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_o", 891s # (gchar *) "o", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_g", 891s # (gchar *) "g", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_h", 891s # (gchar *) "h", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ay", 891s # (gchar *) "ay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_as", 891s # (gchar *) "as", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ao", 891s # (gchar *) "ao", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_aay", 891s # (gchar *) "aay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_asv", 891s # (gchar *) "a{sv}", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SignalWithManyArgs", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 891s # NULL 891s # }, 891s # "signal-with-many-args" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.SignalingIface", 891s # NULL, 891s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-signaling-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_signaling_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_signaling_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectSignalingIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.SignalingIface. 891s # */ 891s # 891s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 891s # { 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * OrgProjectSignalingIface::signal-with-many-args: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_b: Argument. 891s # * @arg_an_y: Argument. 891s # * @arg_an_n: Argument. 891s # * @arg_an_q: Argument. 891s # * @arg_an_i: Argument. 891s # * @arg_an_u: Argument. 891s # * @arg_an_x: Argument. 891s # * @arg_an_t: Argument. 891s # * @arg_an_d: Argument. 891s # * @arg_an_s: Argument. 891s # * @arg_an_o: Argument. 891s # * @arg_an_g: Argument. 891s # * @arg_an_h: Argument. 891s # * @arg_an_ay: Argument. 891s # * @arg_an_as: Argument. 891s # * @arg_an_ao: Argument. 891s # * @arg_an_aay: Argument. 891s # * @arg_an_asv: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 891s # g_signal_new ("signal-with-many-args", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 891s # G_TYPE_NONE, 891s # 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); 891s # 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_signal_with_many_args: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_b: Argument to pass with the signal. 891s # * @arg_an_y: Argument to pass with the signal. 891s # * @arg_an_n: Argument to pass with the signal. 891s # * @arg_an_q: Argument to pass with the signal. 891s # * @arg_an_i: Argument to pass with the signal. 891s # * @arg_an_u: Argument to pass with the signal. 891s # * @arg_an_x: Argument to pass with the signal. 891s # * @arg_an_t: Argument to pass with the signal. 891s # * @arg_an_d: Argument to pass with the signal. 891s # * @arg_an_s: Argument to pass with the signal. 891s # * @arg_an_o: Argument to pass with the signal. 891s # * @arg_an_g: Argument to pass with the signal. 891s # * @arg_an_h: Argument to pass with the signal. 891s # * @arg_an_ay: Argument to pass with the signal. 891s # * @arg_an_as: Argument to pass with the signal. 891s # * @arg_an_ao: Argument to pass with the signal. 891s # * @arg_an_aay: Argument to pass with the signal. 891s # * @arg_an_asv: Argument to pass with the signal. 891s # * 891s # * Emits the "SignalWithManyArgs" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_signal_with_many_args ( 891s # OrgProjectSignalingIface *object, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv) 891s # { 891s # 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); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceProxy: 891s # * 891s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectSignalingIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectSignalingIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_signaling_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_signaling_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_signaling_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceSkeleton: 891s # * 891s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectSignalingIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_signaling_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_signaling_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_signaling_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 891s # { 891s # _org_project_signaling_iface_skeleton_handle_method_call, 891s # _org_project_signaling_iface_skeleton_handle_get_property, 891s # _org_project_signaling_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_signaling_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 891s # OrgProjectSignalingIface *object, 891s # gboolean arg_an_b, 891s # guchar arg_an_y, 891s # gint16 arg_an_n, 891s # guint16 arg_an_q, 891s # gint arg_an_i, 891s # guint arg_an_u, 891s # gint64 arg_an_x, 891s # guint64 arg_an_t, 891s # gdouble arg_an_d, 891s # const gchar *arg_an_s, 891s # const gchar *arg_an_o, 891s # const gchar *arg_an_g, 891s # GVariant *arg_an_h, 891s # const gchar *arg_an_ay, 891s # const gchar *const *arg_an_as, 891s # const gchar *const *arg_an_ao, 891s # const gchar *const *arg_an_aay, 891s # GVariant *arg_an_asv) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 891s # arg_an_b, 891s # arg_an_y, 891s # arg_an_n, 891s # arg_an_q, 891s # arg_an_i, 891s # arg_an_u, 891s # arg_an_x, 891s # arg_an_t, 891s # arg_an_d, 891s # arg_an_s, 891s # arg_an_o, 891s # arg_an_g, 891s # arg_an_h, 891s # arg_an_ay, 891s # arg_an_as, 891s # arg_an_ao, 891s # arg_an_aay, 891s # arg_an_asv)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_signaling_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 891s # { 891s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 891s # } 891s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 891s # tmpdir: /tmp/tmp3v3hkt7g 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmp3v3hkt7g/tmpdvg0zrc3.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3v3hkt7g/tmpdvg0zrc3.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_VOID__INT64 ( 891s # GClosure *closure, 891s # GValue *return_value G_GNUC_UNUSED, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 891s # (void *data1, 891s # gint64 arg_an_x, 891s # void *data2); 891s # _GDbusCodegenMarshalVoid_Int64Func callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # callback (data1, 891s # g_marshal_value_peek_int64 (param_values + 1), 891s # data2); 891s # } 891s # 891s # static void 891s # _g_dbus_codegen_marshal_VOID__UINT64 ( 891s # GClosure *closure, 891s # GValue *return_value G_GNUC_UNUSED, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint G_GNUC_UNUSED, 891s # void *marshal_data) 891s # { 891s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 891s # (void *data1, 891s # guint64 arg_an_t, 891s # void *data2); 891s # _GDbusCodegenMarshalVoid_Uint64Func callback; 891s # GCClosure *cc = (GCClosure*) closure; 891s # void *data1, *data2; 891s # 891s # g_return_if_fail (n_param_values == 2); 891s # 891s # if (G_CCLOSURE_SWAP_DATA (closure)) 891s # { 891s # data1 = closure->data; 891s # data2 = g_value_peek_pointer (param_values + 0); 891s # } 891s # else 891s # { 891s # data1 = g_value_peek_pointer (param_values + 0); 891s # data2 = closure->data; 891s # } 891s # 891s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 891s # (marshal_data ? marshal_data : cc->callback); 891s # 891s # callback (data1, 891s # g_marshal_value_peek_uint64 (param_values + 1), 891s # data2); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.SignalingIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectSignalingIface 891s # * @title: OrgProjectSignalingIface 891s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 891s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 891s # }; 891s # 891s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 891s # 891s # /* ---- Introspection data for org.project.SignalingIface ---- */ 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 891s # { 891s # { 891s # -1, 891s # (gchar *) "NoArgSignal", 891s # NULL, 891s # NULL 891s # }, 891s # "no-arg-signal" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_b", 891s # (gchar *) "b", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalB", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-b" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_y", 891s # (gchar *) "y", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalY", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-y" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_n", 891s # (gchar *) "n", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalN", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-n" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_q", 891s # (gchar *) "q", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalQ", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-q" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_i", 891s # (gchar *) "i", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalI", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-i" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_u", 891s # (gchar *) "u", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalU", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-u" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_x", 891s # (gchar *) "x", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalX", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-x" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_t", 891s # (gchar *) "t", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalT", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-t" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_d", 891s # (gchar *) "d", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalD", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-d" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_s", 891s # (gchar *) "s", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalS", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-s" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_o", 891s # (gchar *) "o", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalO", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-o" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_g", 891s # (gchar *) "g", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalG", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-g" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_h", 891s # (gchar *) "h", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalH", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-h" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ay", 891s # (gchar *) "ay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalAY", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-ay" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_as", 891s # (gchar *) "as", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalAS", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-as" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_ao", 891s # (gchar *) "ao", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalAO", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-ao" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_aay", 891s # (gchar *) "aay", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalAAY", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-aay" 891s # }; 891s # 891s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "an_asv", 891s # (gchar *) "a{sv}", 891s # NULL 891s # }, 891s # FALSE 891s # }; 891s # 891s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SingleArgSignalASV", 891s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 891s # NULL 891s # }, 891s # "single-arg-signal-asv" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 891s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.SignalingIface", 891s # NULL, 891s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-signaling-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_signaling_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_signaling_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VOID (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__BOOLEAN (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__UCHAR (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__INT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__UINT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__INT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__UINT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__DOUBLE (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__STRING (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__STRING (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__STRING (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VARIANT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__STRING (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__BOXED (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__BOXED (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__BOXED (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VARIANT (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectSignalingIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 891s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 891s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 891s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 891s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 891s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 891s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 891s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 891s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 891s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 891s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 891s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 891s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 891s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 891s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 891s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 891s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 891s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 891s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.SignalingIface. 891s # */ 891s # 891s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 891s # { 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * OrgProjectSignalingIface::no-arg-signal: 891s # * @object: A #OrgProjectSignalingIface. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 891s # g_signal_new ("no-arg-signal", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_no_arg_signal, 891s # G_TYPE_NONE, 891s # 0); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-b: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_b: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 891s # g_signal_new ("single-arg-signal-b", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_BOOLEAN); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-y: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_y: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 891s # g_signal_new ("single-arg-signal-y", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_UCHAR); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-n: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_n: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 891s # g_signal_new ("single-arg-signal-n", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_INT); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-q: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_q: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 891s # g_signal_new ("single-arg-signal-q", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_UINT); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-i: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_i: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 891s # g_signal_new ("single-arg-signal-i", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_INT); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-u: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_u: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 891s # g_signal_new ("single-arg-signal-u", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_UINT); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-x: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_x: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 891s # g_signal_new ("single-arg-signal-x", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_INT64); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-t: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_t: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 891s # g_signal_new ("single-arg-signal-t", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_UINT64); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-d: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_d: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 891s # g_signal_new ("single-arg-signal-d", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_DOUBLE); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-s: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_s: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 891s # g_signal_new ("single-arg-signal-s", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_STRING); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-o: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_o: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 891s # g_signal_new ("single-arg-signal-o", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_STRING); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-g: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_g: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 891s # g_signal_new ("single-arg-signal-g", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_STRING); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-h: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_h: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 891s # g_signal_new ("single-arg-signal-h", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_VARIANT); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-ay: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_ay: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 891s # g_signal_new ("single-arg-signal-ay", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_STRING); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-as: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_as: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 891s # g_signal_new ("single-arg-signal-as", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_STRV); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-ao: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_ao: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 891s # g_signal_new ("single-arg-signal-ao", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_STRV); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-aay: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_aay: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 891s # g_signal_new ("single-arg-signal-aay", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_STRV); 891s # 891s # /** 891s # * OrgProjectSignalingIface::single-arg-signal-asv: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_asv: Argument. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 891s # g_signal_new ("single-arg-signal-asv", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 891s # G_TYPE_NONE, 891s # 1, G_TYPE_VARIANT); 891s # 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_no_arg_signal: 891s # * @object: A #OrgProjectSignalingIface. 891s # * 891s # * Emits the "NoArgSignal" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_no_arg_signal ( 891s # OrgProjectSignalingIface *object) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_b: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_b: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalB" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_b ( 891s # OrgProjectSignalingIface *object, 891s # gboolean arg_an_b) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_y: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_y: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalY" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_y ( 891s # OrgProjectSignalingIface *object, 891s # guchar arg_an_y) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_n: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_n: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalN" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_n ( 891s # OrgProjectSignalingIface *object, 891s # gint16 arg_an_n) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_q: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_q: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalQ" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_q ( 891s # OrgProjectSignalingIface *object, 891s # guint16 arg_an_q) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_i: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_i: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalI" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_i ( 891s # OrgProjectSignalingIface *object, 891s # gint arg_an_i) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_u: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_u: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalU" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_u ( 891s # OrgProjectSignalingIface *object, 891s # guint arg_an_u) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_x: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_x: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalX" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_x ( 891s # OrgProjectSignalingIface *object, 891s # gint64 arg_an_x) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_t: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_t: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalT" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_t ( 891s # OrgProjectSignalingIface *object, 891s # guint64 arg_an_t) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_d: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_d: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalD" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_d ( 891s # OrgProjectSignalingIface *object, 891s # gdouble arg_an_d) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_s: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_s: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalS" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_s ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_s) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_o: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_o: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalO" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_o ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_o) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_g: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_g: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalG" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_g ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_g) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_h: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_h: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalH" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_h ( 891s # OrgProjectSignalingIface *object, 891s # GVariant *arg_an_h) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_ay: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_ay: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalAY" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_ay ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_ay) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_as: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_as: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalAS" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_as ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *const *arg_an_as) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_ao: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_ao: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalAO" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_ao ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *const *arg_an_ao) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_aay: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_aay: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalAAY" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_aay ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *const *arg_an_aay) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_single_arg_signal_asv: 891s # * @object: A #OrgProjectSignalingIface. 891s # * @arg_an_asv: Argument to pass with the signal. 891s # * 891s # * Emits the "SingleArgSignalASV" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_single_arg_signal_asv ( 891s # OrgProjectSignalingIface *object, 891s # GVariant *arg_an_asv) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceProxy: 891s # * 891s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectSignalingIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectSignalingIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_signaling_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_signaling_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_signaling_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceSkeleton: 891s # * 891s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectSignalingIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_signaling_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_signaling_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_signaling_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 891s # { 891s # _org_project_signaling_iface_skeleton_handle_method_call, 891s # _org_project_signaling_iface_skeleton_handle_get_property, 891s # _org_project_signaling_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_signaling_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_no_arg_signal ( 891s # OrgProjectSignalingIface *object) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 891s # OrgProjectSignalingIface *object, 891s # gboolean arg_an_b) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 891s # arg_an_b)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 891s # OrgProjectSignalingIface *object, 891s # guchar arg_an_y) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 891s # arg_an_y)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 891s # OrgProjectSignalingIface *object, 891s # gint16 arg_an_n) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 891s # arg_an_n)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 891s # OrgProjectSignalingIface *object, 891s # guint16 arg_an_q) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 891s # arg_an_q)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 891s # OrgProjectSignalingIface *object, 891s # gint arg_an_i) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 891s # arg_an_i)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 891s # OrgProjectSignalingIface *object, 891s # guint arg_an_u) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 891s # arg_an_u)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 891s # OrgProjectSignalingIface *object, 891s # gint64 arg_an_x) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 891s # arg_an_x)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 891s # OrgProjectSignalingIface *object, 891s # guint64 arg_an_t) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 891s # arg_an_t)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 891s # OrgProjectSignalingIface *object, 891s # gdouble arg_an_d) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 891s # arg_an_d)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_s) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 891s # arg_an_s)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_o) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 891s # arg_an_o)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_g) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 891s # arg_an_g)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 891s # OrgProjectSignalingIface *object, 891s # GVariant *arg_an_h) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 891s # arg_an_h)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *arg_an_ay) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 891s # arg_an_ay)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *const *arg_an_as) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 891s # arg_an_as)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *const *arg_an_ao) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 891s # arg_an_ao)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 891s # OrgProjectSignalingIface *object, 891s # const gchar *const *arg_an_aay) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 891s # arg_an_aay)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 891s # OrgProjectSignalingIface *object, 891s # GVariant *arg_an_asv) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 891s # arg_an_asv)); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_signaling_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 891s # { 891s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 891s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 891s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 891s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 891s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 891s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 891s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 891s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 891s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 891s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 891s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 891s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 891s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 891s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 891s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 891s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 891s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 891s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 891s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 891s # } 891s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 891s # tmpdir: /tmp/tmpq6rammdp 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmpq6rammdp/tmp98md_gal.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq6rammdp/tmp98md_gal.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.UsefulInterface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectUsefulInterface 891s # * @title: OrgProjectUsefulInterface 891s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 891s # }; 891s # 891s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 891s # 891s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SimpleSignal", 891s # NULL, 891s # NULL 891s # }, 891s # "simple-signal" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 891s # { 891s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.UsefulInterface", 891s # NULL, 891s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-useful-interface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_useful_interface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_useful_interface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_useful_interface_signal_marshal_simple_signal ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VOID (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectUsefulInterface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 891s # */ 891s # 891s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * OrgProjectUsefulInterface::simple-signal: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 891s # g_signal_new ("simple-signal", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 891s # NULL, 891s # NULL, 891s # org_project_useful_interface_signal_marshal_simple_signal, 891s # G_TYPE_NONE, 891s # 0); 891s # 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_emit_simple_signal: 891s # * @object: A #OrgProjectUsefulInterface. 891s # * 891s # * Emits the "SimpleSignal" D-Bus signal. 891s # */ 891s # void 891s # org_project_useful_interface_emit_simple_signal ( 891s # OrgProjectUsefulInterface *object) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxy: 891s # * 891s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 891s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 891s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_useful_interface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # g_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); 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeleton: 891s # * 891s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectUsefulInterfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_useful_interface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_useful_interface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_useful_interface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 891s # { 891s # _org_project_useful_interface_skeleton_handle_method_call, 891s # _org_project_useful_interface_skeleton_handle_get_property, 891s # _org_project_useful_interface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_useful_interface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # _org_project_useful_interface_on_signal_simple_signal ( 891s # OrgProjectUsefulInterface *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_useful_interface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 891s # { 891s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 891s # } 891s # 891s # /** 891s # * org_project_useful_interface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectUsefulInterface * 891s # org_project_useful_interface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.OtherIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectOtherIface 891s # * @title: OrgProjectOtherIface 891s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 891s # }; 891s # 891s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 891s # 891s # /* ---- Introspection data for org.project.OtherIface ---- */ 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SimpleSignal", 891s # NULL, 891s # NULL 891s # }, 891s # "simple-signal" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 891s # { 891s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.OtherIface", 891s # NULL, 891s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-other-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_other_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_other_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_other_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_other_iface_signal_marshal_simple_signal ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VOID (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectOtherIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.OtherIface. 891s # */ 891s # 891s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 891s # { 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * OrgProjectOtherIface::simple-signal: 891s # * @object: A #OrgProjectOtherIface. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 891s # g_signal_new ("simple-signal", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 891s # NULL, 891s # NULL, 891s # org_project_other_iface_signal_marshal_simple_signal, 891s # G_TYPE_NONE, 891s # 0); 891s # 891s # } 891s # 891s # /** 891s # * org_project_other_iface_emit_simple_signal: 891s # * @object: A #OrgProjectOtherIface. 891s # * 891s # * Emits the "SimpleSignal" D-Bus signal. 891s # */ 891s # void 891s # org_project_other_iface_emit_simple_signal ( 891s # OrgProjectOtherIface *object) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectOtherIfaceProxy: 891s # * 891s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectOtherIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectOtherIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_other_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_other_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_other_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_other_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_other_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherIface * 891s # org_project_other_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherIface * 891s # org_project_other_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_other_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_other_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_other_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherIface * 891s # org_project_other_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherIface * 891s # org_project_other_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectOtherIfaceSkeleton: 891s # * 891s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectOtherIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectOtherIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_other_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_other_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_other_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 891s # { 891s # _org_project_other_iface_skeleton_handle_method_call, 891s # _org_project_other_iface_skeleton_handle_get_property, 891s # _org_project_other_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_other_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # _org_project_other_iface_on_signal_simple_signal ( 891s # OrgProjectOtherIface *object) 891s # { 891s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_other_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 891s # { 891s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 891s # } 891s # 891s # /** 891s # * org_project_other_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectOtherIface * 891s # org_project_other_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 891s # } 891s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 891s # tmpdir: /tmp/tmpv3o0f31o 891s # codegen: /usr/bin/gdbus-codegen 891s # /tmp/tmpv3o0f31o/tmpni9t2eob.xml: 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # 891s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv3o0f31o/tmpni9t2eob.xml', '--output', '-', '--body'] 891s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 891s # Output: /* 891s # * This file is generated by gdbus-codegen, do not modify it. 891s # * 891s # * The license of this code is the same as for the D-Bus interface description 891s # * it was derived from. Note that it links to GLib, so must comply with the 891s # * LGPL linking clauses. 891s # */ 891s # 891s # #ifdef HAVE_CONFIG_H 891s # # include "config.h" 891s # #endif 891s # 891s # #include 891s # #ifdef G_OS_UNIX 891s # # include 891s # #endif 891s # 891s # #ifdef G_ENABLE_DEBUG 891s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 891s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 891s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 891s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 891s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 891s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 891s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 891s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 891s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 891s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 891s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 891s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 891s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 891s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 891s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 891s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 891s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 891s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 891s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 891s # #else /* !G_ENABLE_DEBUG */ 891s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 891s # * Do not access GValues directly in your code. Instead, use the 891s # * g_value_get_*() functions 891s # */ 891s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 891s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 891s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 891s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 891s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 891s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 891s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 891s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 891s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 891s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 891s # #endif /* !G_ENABLE_DEBUG */ 891s # 891s # typedef struct 891s # { 891s # GDBusArgInfo parent_struct; 891s # gboolean use_gvariant; 891s # } _ExtendedGDBusArgInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusMethodInfo parent_struct; 891s # const gchar *signal_name; 891s # gboolean pass_fdlist; 891s # } _ExtendedGDBusMethodInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusSignalInfo parent_struct; 891s # const gchar *signal_name; 891s # } _ExtendedGDBusSignalInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusPropertyInfo parent_struct; 891s # const gchar *hyphen_name; 891s # guint use_gvariant : 1; 891s # guint emits_changed_signal : 1; 891s # } _ExtendedGDBusPropertyInfo; 891s # 891s # typedef struct 891s # { 891s # GDBusInterfaceInfo parent_struct; 891s # const gchar *hyphen_name; 891s # } _ExtendedGDBusInterfaceInfo; 891s # 891s # typedef struct 891s # { 891s # const _ExtendedGDBusPropertyInfo *info; 891s # guint prop_id; 891s # GValue orig_value; /* the value before the change */ 891s # } ChangedProperty; 891s # 891s # static void 891s # _changed_property_free (ChangedProperty *data) 891s # { 891s # g_value_unset (&data->orig_value); 891s # g_free (data); 891s # } 891s # 891s # static gboolean 891s # _g_strv_equal0 (gchar **a, gchar **b) 891s # { 891s # gboolean ret = FALSE; 891s # guint n; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # if (g_strv_length (a) != g_strv_length (b)) 891s # goto out; 891s # for (n = 0; a[n] != NULL; n++) 891s # if (g_strcmp0 (a[n], b[n]) != 0) 891s # goto out; 891s # ret = TRUE; 891s # out: 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _g_variant_equal0 (GVariant *a, GVariant *b) 891s # { 891s # gboolean ret = FALSE; 891s # if (a == NULL && b == NULL) 891s # { 891s # ret = TRUE; 891s # goto out; 891s # } 891s # if (a == NULL || b == NULL) 891s # goto out; 891s # ret = g_variant_equal (a, b); 891s # out: 891s # return ret; 891s # } 891s # 891s # G_GNUC_UNUSED static gboolean 891s # _g_value_equal (const GValue *a, const GValue *b) 891s # { 891s # gboolean ret = FALSE; 891s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 891s # switch (G_VALUE_TYPE (a)) 891s # { 891s # case G_TYPE_BOOLEAN: 891s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 891s # break; 891s # case G_TYPE_UCHAR: 891s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 891s # break; 891s # case G_TYPE_INT: 891s # ret = (g_value_get_int (a) == g_value_get_int (b)); 891s # break; 891s # case G_TYPE_UINT: 891s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 891s # break; 891s # case G_TYPE_INT64: 891s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 891s # break; 891s # case G_TYPE_UINT64: 891s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 891s # break; 891s # case G_TYPE_DOUBLE: 891s # { 891s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 891s # gdouble da = g_value_get_double (a); 891s # gdouble db = g_value_get_double (b); 891s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 891s # } 891s # break; 891s # case G_TYPE_STRING: 891s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 891s # break; 891s # case G_TYPE_VARIANT: 891s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 891s # break; 891s # default: 891s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 891s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 891s # else 891s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 891s # break; 891s # } 891s # return ret; 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.SignalingIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectSignalingIface 891s # * @title: OrgProjectSignalingIface 891s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 891s # }; 891s # 891s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 891s # 891s # /* ---- Introspection data for org.project.SignalingIface ---- */ 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SimpleSignal", 891s # NULL, 891s # NULL 891s # }, 891s # "simple-signal" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 891s # { 891s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.SignalingIface", 891s # NULL, 891s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-signaling-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_signaling_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_signaling_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_signaling_iface_signal_marshal_simple_signal ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VOID (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectSignalingIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.SignalingIface. 891s # */ 891s # 891s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 891s # { 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * OrgProjectSignalingIface::simple-signal: 891s # * @object: A #OrgProjectSignalingIface. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 891s # g_signal_new ("simple-signal", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 891s # NULL, 891s # NULL, 891s # org_project_signaling_iface_signal_marshal_simple_signal, 891s # G_TYPE_NONE, 891s # 0); 891s # 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_emit_simple_signal: 891s # * @object: A #OrgProjectSignalingIface. 891s # * 891s # * Emits the "SimpleSignal" D-Bus signal. 891s # */ 891s # void 891s # org_project_signaling_iface_emit_simple_signal ( 891s # OrgProjectSignalingIface *object) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceProxy: 891s # * 891s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectSignalingIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectSignalingIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_signaling_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_signaling_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_signaling_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceSkeleton: 891s # * 891s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectSignalingIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectSignalingIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_signaling_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_signaling_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_signaling_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 891s # { 891s # _org_project_signaling_iface_skeleton_handle_method_call, 891s # _org_project_signaling_iface_skeleton_handle_get_property, 891s # _org_project_signaling_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_signaling_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # _org_project_signaling_iface_on_signal_simple_signal ( 891s # OrgProjectSignalingIface *object) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_signaling_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 891s # { 891s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 891s # } 891s # 891s # /** 891s # * org_project_signaling_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectSignalingIface * 891s # org_project_signaling_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ 891s # * Code for interface org.project.OtherSignalingIface 891s # * ------------------------------------------------------------------------ 891s # */ 891s # 891s # /** 891s # * SECTION:OrgProjectOtherSignalingIface 891s # * @title: OrgProjectOtherSignalingIface 891s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 891s # * 891s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 891s # */ 891s # 891s # enum 891s # { 891s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 891s # }; 891s # 891s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 891s # 891s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 891s # 891s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 891s # { 891s # { 891s # -1, 891s # (gchar *) "SimpleSignal", 891s # NULL, 891s # NULL 891s # }, 891s # "simple-signal" 891s # }; 891s # 891s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 891s # { 891s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 891s # NULL 891s # }; 891s # 891s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 891s # { 891s # { 891s # -1, 891s # (gchar *) "org.project.OtherSignalingIface", 891s # NULL, 891s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 891s # NULL, 891s # NULL 891s # }, 891s # "org-project-other-signaling-iface", 891s # }; 891s # 891s # 891s # /** 891s # * org_project_other_signaling_iface_interface_info: 891s # * 891s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 891s # * 891s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 891s # */ 891s # GDBusInterfaceInfo * 891s # org_project_other_signaling_iface_interface_info (void) 891s # { 891s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_override_properties: 891s # * @klass: The class structure for a #GObject derived class. 891s # * @property_id_begin: The property id to assign to the first overridden property. 891s # * 891s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 891s # * The properties are overridden in the order they are defined. 891s # * 891s # * Returns: The last property id. 891s # */ 891s # guint 891s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 891s # { 891s # return property_id_begin - 1; 891s # } 891s # 891s # 891s # inline static void 891s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 891s # GClosure *closure, 891s # GValue *return_value, 891s # unsigned int n_param_values, 891s # const GValue *param_values, 891s # void *invocation_hint, 891s # void *marshal_data) 891s # { 891s # g_cclosure_marshal_VOID__VOID (closure, 891s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 891s # } 891s # 891s # 891s # /** 891s # * OrgProjectOtherSignalingIface: 891s # * 891s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherSignalingIfaceIface: 891s # * @parent_iface: The parent interface. 891s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 891s # * 891s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 891s # */ 891s # 891s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 891s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 891s # 891s # static void 891s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 891s # { 891s # /* GObject signals for received D-Bus signals: */ 891s # /** 891s # * OrgProjectOtherSignalingIface::simple-signal: 891s # * @object: A #OrgProjectOtherSignalingIface. 891s # * 891s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 891s # * 891s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 891s # */ 891s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 891s # g_signal_new ("simple-signal", 891s # G_TYPE_FROM_INTERFACE (iface), 891s # G_SIGNAL_RUN_LAST, 891s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 891s # NULL, 891s # NULL, 891s # org_project_other_signaling_iface_signal_marshal_simple_signal, 891s # G_TYPE_NONE, 891s # 0); 891s # 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_emit_simple_signal: 891s # * @object: A #OrgProjectOtherSignalingIface. 891s # * 891s # * Emits the "SimpleSignal" D-Bus signal. 891s # */ 891s # void 891s # org_project_other_signaling_iface_emit_simple_signal ( 891s # OrgProjectOtherSignalingIface *object) 891s # { 891s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 891s # } 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectOtherSignalingIfaceProxy: 891s # * 891s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherSignalingIfaceProxyClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 891s # */ 891s # 891s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 891s # { 891s # GData *qdata; 891s # }; 891s # 891s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 891s # { 891s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 891s # g_datalist_clear (&proxy->priv->qdata); 891s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 891s # guint prop_id G_GNUC_UNUSED, 891s # const GValue *value G_GNUC_UNUSED, 891s # GParamSpec *pspec G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 891s # const gchar *sender_name G_GNUC_UNUSED, 891s # const gchar *signal_name, 891s # GVariant *parameters) 891s # { 891s # _ExtendedGDBusSignalInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # gsize n; 891s # guint signal_id; 891s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 891s # if (info == NULL) 891s # return; 891s # num_params = g_variant_n_children (parameters); 891s # paramv = g_new0 (GValue, num_params + 1); 891s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[0], proxy); 891s # g_variant_iter_init (&iter, parameters); 891s # n = 1; 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 891s # g_signal_emitv (paramv, signal_id, 0, NULL); 891s # for (n = 0; n < num_params + 1; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 891s # GVariant *changed_properties, 891s # const gchar *const *invalidated_properties) 891s # { 891s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 891s # guint n; 891s # const gchar *key; 891s # GVariantIter *iter; 891s # _ExtendedGDBusPropertyInfo *info; 891s # g_variant_get (changed_properties, "a{sv}", &iter); 891s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 891s # g_datalist_remove_data (&proxy->priv->qdata, key); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # g_variant_iter_free (iter); 891s # for (n = 0; invalidated_properties[n] != NULL; n++) 891s # { 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 891s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 891s # if (info != NULL) 891s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 891s # } 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 891s # #else 891s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 891s # #endif 891s # 891s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusProxyClass *proxy_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 891s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 891s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 891s # 891s # proxy_class = G_DBUS_PROXY_CLASS (klass); 891s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 891s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_proxy_new: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 891s # * 891s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_other_signaling_iface_proxy_new ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_proxy_new_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherSignalingIface * 891s # org_project_other_signaling_iface_proxy_new_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_proxy_new_sync: 891s # * @connection: A #GDBusConnection. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherSignalingIface * 891s # org_project_other_signaling_iface_proxy_new_sync ( 891s # GDBusConnection *connection, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /** 891s # * org_project_other_signaling_iface_proxy_new_for_bus: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 891s # * @user_data: User data to pass to @callback. 891s # * 891s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 891s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 891s # * 891s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 891s # */ 891s # void 891s # org_project_other_signaling_iface_proxy_new_for_bus ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GAsyncReadyCallback callback, 891s # gpointer user_data) 891s # { 891s # 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); 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 891s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 891s # * @error: Return location for error or %NULL 891s # * 891s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherSignalingIface * 891s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 891s # GAsyncResult *res, 891s # GError **error) 891s # { 891s # GObject *ret; 891s # GObject *source_object; 891s # source_object = g_async_result_get_source_object (res); 891s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 891s # g_object_unref (source_object); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 891s # * @bus_type: A #GBusType. 891s # * @flags: Flags from the #GDBusProxyFlags enumeration. 891s # * @name: A bus name (well-known or unique). 891s # * @object_path: An object path. 891s # * @cancellable: (nullable): A #GCancellable or %NULL. 891s # * @error: Return location for error or %NULL 891s # * 891s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 891s # * 891s # * The calling thread is blocked until a reply is received. 891s # * 891s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 891s # */ 891s # OrgProjectOtherSignalingIface * 891s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 891s # GBusType bus_type, 891s # GDBusProxyFlags flags, 891s # const gchar *name, 891s # const gchar *object_path, 891s # GCancellable *cancellable, 891s # GError **error) 891s # { 891s # GInitable *ret; 891s # 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); 891s # if (ret != NULL) 891s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 891s # else 891s # return NULL; 891s # } 891s # 891s # 891s # /* ------------------------------------------------------------------------ */ 891s # 891s # /** 891s # * OrgProjectOtherSignalingIfaceSkeleton: 891s # * 891s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 891s # */ 891s # 891s # /** 891s # * OrgProjectOtherSignalingIfaceSkeletonClass: 891s # * @parent_class: The parent class. 891s # * 891s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 891s # */ 891s # 891s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 891s # { 891s # GValue *properties; 891s # GList *changed_properties; 891s # GSource *changed_properties_idle_source; 891s # GMainContext *context; 891s # GMutex lock; 891s # }; 891s # 891s # static void 891s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name, 891s # const gchar *method_name, 891s # GVariant *parameters, 891s # GDBusMethodInvocation *invocation, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 891s # _ExtendedGDBusMethodInfo *info; 891s # GVariantIter iter; 891s # GVariant *child; 891s # GValue *paramv; 891s # gsize num_params; 891s # guint num_extra; 891s # gsize n; 891s # guint signal_id; 891s # GValue return_value = G_VALUE_INIT; 891s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 891s # g_assert (info != NULL); 891s # num_params = g_variant_n_children (parameters); 891s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 891s # n = 0; 891s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 891s # g_value_set_object (¶mv[n++], skeleton); 891s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 891s # g_value_set_object (¶mv[n++], invocation); 891s # if (info->pass_fdlist) 891s # { 891s # #ifdef G_OS_UNIX 891s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 891s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 891s # #else 891s # g_assert_not_reached (); 891s # #endif 891s # } 891s # g_variant_iter_init (&iter, parameters); 891s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 891s # { 891s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 891s # if (arg_info->use_gvariant) 891s # { 891s # g_value_init (¶mv[n], G_TYPE_VARIANT); 891s # g_value_set_variant (¶mv[n], child); 891s # n++; 891s # } 891s # else 891s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 891s # g_variant_unref (child); 891s # } 891s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 891s # g_value_init (&return_value, G_TYPE_BOOLEAN); 891s # g_signal_emitv (paramv, signal_id, 0, &return_value); 891s # if (!g_value_get_boolean (&return_value)) 891s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 891s # g_value_unset (&return_value); 891s # for (n = 0; n < num_params + num_extra; n++) 891s # g_value_unset (¶mv[n]); 891s # g_free (paramv); 891s # } 891s # 891s # static GVariant * 891s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # GVariant *ret; 891s # ret = NULL; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # g_value_init (&value, pspec->value_type); 891s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 891s # g_value_unset (&value); 891s # } 891s # return ret; 891s # } 891s # 891s # static gboolean 891s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 891s # GDBusConnection *connection G_GNUC_UNUSED, 891s # const gchar *sender G_GNUC_UNUSED, 891s # const gchar *object_path G_GNUC_UNUSED, 891s # const gchar *interface_name G_GNUC_UNUSED, 891s # const gchar *property_name, 891s # GVariant *variant, 891s # GError **error, 891s # gpointer user_data) 891s # { 891s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 891s # GValue value = G_VALUE_INIT; 891s # GParamSpec *pspec; 891s # _ExtendedGDBusPropertyInfo *info; 891s # gboolean ret; 891s # ret = FALSE; 891s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 891s # g_assert (info != NULL); 891s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 891s # if (pspec == NULL) 891s # { 891s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 891s # } 891s # else 891s # { 891s # if (info->use_gvariant) 891s # g_value_set_variant (&value, variant); 891s # else 891s # g_dbus_gvariant_to_gvalue (variant, &value); 891s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 891s # g_value_unset (&value); 891s # ret = TRUE; 891s # } 891s # return ret; 891s # } 891s # 891s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 891s # { 891s # _org_project_other_signaling_iface_skeleton_handle_method_call, 891s # _org_project_other_signaling_iface_skeleton_handle_get_property, 891s # _org_project_other_signaling_iface_skeleton_handle_set_property, 891s # {NULL} 891s # }; 891s # 891s # static GDBusInterfaceInfo * 891s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return org_project_other_signaling_iface_interface_info (); 891s # } 891s # 891s # static GDBusInterfaceVTable * 891s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 891s # { 891s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 891s # } 891s # 891s # static GVariant * 891s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 891s # { 891s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 891s # 891s # GVariantBuilder builder; 891s # guint n; 891s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 891s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 891s # goto out; 891s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 891s # { 891s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 891s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 891s # { 891s # GVariant *value; 891s # 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); 891s # if (value != NULL) 891s # { 891s # g_variant_take_ref (value); 891s # g_variant_builder_add (&builder, "{sv}", info->name, value); 891s # g_variant_unref (value); 891s # } 891s # } 891s # } 891s # out: 891s # return g_variant_builder_end (&builder); 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 891s # { 891s # } 891s # 891s # static void 891s # _org_project_other_signaling_iface_on_signal_simple_signal ( 891s # OrgProjectOtherSignalingIface *object) 891s # { 891s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 891s # 891s # GList *connections, *l; 891s # GVariant *signal_variant; 891s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 891s # 891s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 891s # for (l = connections; l != NULL; l = l->next) 891s # { 891s # GDBusConnection *connection = l->data; 891s # g_dbus_connection_emit_signal (connection, 891s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 891s # signal_variant, NULL); 891s # } 891s # g_variant_unref (signal_variant); 891s # g_list_free_full (connections, g_object_unref); 891s # } 891s # 891s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 891s # 891s # #else 891s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 891s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 891s # 891s # #endif 891s # static void 891s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 891s # { 891s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 891s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 891s # if (skeleton->priv->changed_properties_idle_source != NULL) 891s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 891s # g_main_context_unref (skeleton->priv->context); 891s # g_mutex_clear (&skeleton->priv->lock); 891s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 891s # { 891s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 891s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 891s # #else 891s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 891s # #endif 891s # 891s # g_mutex_init (&skeleton->priv->lock); 891s # skeleton->priv->context = g_main_context_ref_thread_default (); 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 891s # { 891s # GObjectClass *gobject_class; 891s # GDBusInterfaceSkeletonClass *skeleton_class; 891s # 891s # gobject_class = G_OBJECT_CLASS (klass); 891s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 891s # 891s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 891s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 891s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 891s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 891s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 891s # 891s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 891s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 891s # #endif 891s # } 891s # 891s # static void 891s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 891s # { 891s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 891s # } 891s # 891s # /** 891s # * org_project_other_signaling_iface_skeleton_new: 891s # * 891s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 891s # * 891s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 891s # */ 891s # OrgProjectOtherSignalingIface * 891s # org_project_other_signaling_iface_skeleton_new (void) 891s # { 891s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 891s # } 892s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 892s # tmpdir: /tmp/tmpazgdp3lz 892s # codegen: /usr/bin/gdbus-codegen 892s # /tmp/tmpazgdp3lz/tmp443vsn1z.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmp443vsn1z.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_b", 892s # (gchar *) "b", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalB", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-b" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__BOOLEAN (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-b: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_b: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 892s # g_signal_new ("single-arg-signal-b", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_BOOLEAN); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_b: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_b: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalB" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_b ( 892s # OrgProjectSignalingIface *object, 892s # gboolean arg_arg_b) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 892s # OrgProjectSignalingIface *object, 892s # gboolean arg_arg_b) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 892s # arg_arg_b)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpssq8pt65.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpssq8pt65.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_y", 892s # (gchar *) "y", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalY", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-y" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__UCHAR (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-y: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_y: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 892s # g_signal_new ("single-arg-signal-y", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_UCHAR); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_y: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_y: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalY" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_y ( 892s # OrgProjectSignalingIface *object, 892s # guchar arg_arg_y) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 892s # OrgProjectSignalingIface *object, 892s # guchar arg_arg_y) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 892s # arg_arg_y)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpnrazqm5t.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpnrazqm5t.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_n", 892s # (gchar *) "n", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalN", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-n" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__INT (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-n: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_n: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 892s # g_signal_new ("single-arg-signal-n", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_INT); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_n: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_n: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalN" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_n ( 892s # OrgProjectSignalingIface *object, 892s # gint16 arg_arg_n) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 892s # OrgProjectSignalingIface *object, 892s # gint16 arg_arg_n) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 892s # arg_arg_n)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpn6k2oamy.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpn6k2oamy.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_q", 892s # (gchar *) "q", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalQ", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-q" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__UINT (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-q: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_q: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 892s # g_signal_new ("single-arg-signal-q", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_UINT); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_q: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_q: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalQ" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_q ( 892s # OrgProjectSignalingIface *object, 892s # guint16 arg_arg_q) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 892s # OrgProjectSignalingIface *object, 892s # guint16 arg_arg_q) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 892s # arg_arg_q)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmp86wa_osr.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmp86wa_osr.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_i", 892s # (gchar *) "i", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalI", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-i" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__INT (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-i: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_i: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 892s # g_signal_new ("single-arg-signal-i", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_INT); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_i: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_i: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalI" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_i ( 892s # OrgProjectSignalingIface *object, 892s # gint arg_arg_i) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 892s # OrgProjectSignalingIface *object, 892s # gint arg_arg_i) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 892s # arg_arg_i)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmp0p3uh6vm.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmp0p3uh6vm.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_u", 892s # (gchar *) "u", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalU", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-u" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__UINT (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-u: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_u: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 892s # g_signal_new ("single-arg-signal-u", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_UINT); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_u: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_u: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalU" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_u ( 892s # OrgProjectSignalingIface *object, 892s # guint arg_arg_u) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 892s # OrgProjectSignalingIface *object, 892s # guint arg_arg_u) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 892s # arg_arg_u)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpopfhccj5.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpopfhccj5.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # static void 892s # _g_dbus_codegen_marshal_VOID__INT64 ( 892s # GClosure *closure, 892s # GValue *return_value G_GNUC_UNUSED, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint G_GNUC_UNUSED, 892s # void *marshal_data) 892s # { 892s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 892s # (void *data1, 892s # gint64 arg_arg_x, 892s # void *data2); 892s # _GDbusCodegenMarshalVoid_Int64Func callback; 892s # GCClosure *cc = (GCClosure*) closure; 892s # void *data1, *data2; 892s # 892s # g_return_if_fail (n_param_values == 2); 892s # 892s # if (G_CCLOSURE_SWAP_DATA (closure)) 892s # { 892s # data1 = closure->data; 892s # data2 = g_value_peek_pointer (param_values + 0); 892s # } 892s # else 892s # { 892s # data1 = g_value_peek_pointer (param_values + 0); 892s # data2 = closure->data; 892s # } 892s # 892s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 892s # (marshal_data ? marshal_data : cc->callback); 892s # 892s # callback (data1, 892s # g_marshal_value_peek_int64 (param_values + 1), 892s # data2); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_x", 892s # (gchar *) "x", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalX", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-x" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-x: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_x: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 892s # g_signal_new ("single-arg-signal-x", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_INT64); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_x: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_x: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalX" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_x ( 892s # OrgProjectSignalingIface *object, 892s # gint64 arg_arg_x) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 892s # OrgProjectSignalingIface *object, 892s # gint64 arg_arg_x) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 892s # arg_arg_x)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpbjtrjl8g.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpbjtrjl8g.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # static void 892s # _g_dbus_codegen_marshal_VOID__UINT64 ( 892s # GClosure *closure, 892s # GValue *return_value G_GNUC_UNUSED, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint G_GNUC_UNUSED, 892s # void *marshal_data) 892s # { 892s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 892s # (void *data1, 892s # guint64 arg_arg_t, 892s # void *data2); 892s # _GDbusCodegenMarshalVoid_Uint64Func callback; 892s # GCClosure *cc = (GCClosure*) closure; 892s # void *data1, *data2; 892s # 892s # g_return_if_fail (n_param_values == 2); 892s # 892s # if (G_CCLOSURE_SWAP_DATA (closure)) 892s # { 892s # data1 = closure->data; 892s # data2 = g_value_peek_pointer (param_values + 0); 892s # } 892s # else 892s # { 892s # data1 = g_value_peek_pointer (param_values + 0); 892s # data2 = closure->data; 892s # } 892s # 892s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 892s # (marshal_data ? marshal_data : cc->callback); 892s # 892s # callback (data1, 892s # g_marshal_value_peek_uint64 (param_values + 1), 892s # data2); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_t", 892s # (gchar *) "t", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalT", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-t" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-t: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_t: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 892s # g_signal_new ("single-arg-signal-t", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_UINT64); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_t: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_t: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalT" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_t ( 892s # OrgProjectSignalingIface *object, 892s # guint64 arg_arg_t) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 892s # OrgProjectSignalingIface *object, 892s # guint64 arg_arg_t) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 892s # arg_arg_t)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmp_t4524a6.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmp_t4524a6.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_d", 892s # (gchar *) "d", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalD", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-d" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__DOUBLE (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-d: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_d: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 892s # g_signal_new ("single-arg-signal-d", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_DOUBLE); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_d: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_d: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalD" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_d ( 892s # OrgProjectSignalingIface *object, 892s # gdouble arg_arg_d) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 892s # OrgProjectSignalingIface *object, 892s # gdouble arg_arg_d) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 892s # arg_arg_d)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmppt3r8bqw.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmppt3r8bqw.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_s", 892s # (gchar *) "s", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalS", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-s" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__STRING (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-s: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_s: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 892s # g_signal_new ("single-arg-signal-s", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_STRING); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_s: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_s: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalS" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_s ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_s) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_s) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 892s # arg_arg_s)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpa8rptgfu.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpa8rptgfu.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_o", 892s # (gchar *) "o", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalO", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-o" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__STRING (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-o: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_o: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 892s # g_signal_new ("single-arg-signal-o", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_STRING); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_o: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_o: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalO" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_o ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_o) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_o) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 892s # arg_arg_o)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmp2ch9agp2.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmp2ch9agp2.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_g", 892s # (gchar *) "g", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalG", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-g" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__STRING (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-g: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_g: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 892s # g_signal_new ("single-arg-signal-g", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_STRING); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_g: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_g: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalG" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_g ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_g) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_g) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 892s # arg_arg_g)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpy7akd3b_.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpy7akd3b_.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_h", 892s # (gchar *) "h", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalH", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-h" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VARIANT (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-h: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_h: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 892s # g_signal_new ("single-arg-signal-h", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_VARIANT); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_h: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_h: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalH" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_h ( 892s # OrgProjectSignalingIface *object, 892s # GVariant *arg_arg_h) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 892s # OrgProjectSignalingIface *object, 892s # GVariant *arg_arg_h) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 892s # arg_arg_h)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpd281bxpq.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpd281bxpq.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_ay", 892s # (gchar *) "ay", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalAy", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-ay" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__STRING (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-ay: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_ay: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 892s # g_signal_new ("single-arg-signal-ay", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_STRING); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_ay: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_ay: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalAy" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_ay ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_ay) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *arg_arg_ay) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 892s # arg_arg_ay)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmp0ua6uxrl.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmp0ua6uxrl.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_as", 892s # (gchar *) "as", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalAs", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-as" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__BOXED (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-as: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_as: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 892s # g_signal_new ("single-arg-signal-as", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_STRV); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_as: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_as: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalAs" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_as ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *const *arg_arg_as) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *const *arg_arg_as) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 892s # arg_arg_as)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmp16qatczt.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmp16qatczt.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_ao", 892s # (gchar *) "ao", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalAo", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-ao" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__BOXED (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-ao: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_ao: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 892s # g_signal_new ("single-arg-signal-ao", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_STRV); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_ao: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_ao: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalAo" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_ao ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *const *arg_arg_ao) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *const *arg_arg_ao) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 892s # arg_arg_ao)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpf7_c5w0v.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpf7_c5w0v.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 892s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 892s # #endif /* !G_ENABLE_DEBUG */ 892s # 892s # typedef struct 892s # { 892s # GDBusArgInfo parent_struct; 892s # gboolean use_gvariant; 892s # } _ExtendedGDBusArgInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusMethodInfo parent_struct; 892s # const gchar *signal_name; 892s # gboolean pass_fdlist; 892s # } _ExtendedGDBusMethodInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusSignalInfo parent_struct; 892s # const gchar *signal_name; 892s # } _ExtendedGDBusSignalInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusPropertyInfo parent_struct; 892s # const gchar *hyphen_name; 892s # guint use_gvariant : 1; 892s # guint emits_changed_signal : 1; 892s # } _ExtendedGDBusPropertyInfo; 892s # 892s # typedef struct 892s # { 892s # GDBusInterfaceInfo parent_struct; 892s # const gchar *hyphen_name; 892s # } _ExtendedGDBusInterfaceInfo; 892s # 892s # typedef struct 892s # { 892s # const _ExtendedGDBusPropertyInfo *info; 892s # guint prop_id; 892s # GValue orig_value; /* the value before the change */ 892s # } ChangedProperty; 892s # 892s # static void 892s # _changed_property_free (ChangedProperty *data) 892s # { 892s # g_value_unset (&data->orig_value); 892s # g_free (data); 892s # } 892s # 892s # static gboolean 892s # _g_strv_equal0 (gchar **a, gchar **b) 892s # { 892s # gboolean ret = FALSE; 892s # guint n; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # if (g_strv_length (a) != g_strv_length (b)) 892s # goto out; 892s # for (n = 0; a[n] != NULL; n++) 892s # if (g_strcmp0 (a[n], b[n]) != 0) 892s # goto out; 892s # ret = TRUE; 892s # out: 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _g_variant_equal0 (GVariant *a, GVariant *b) 892s # { 892s # gboolean ret = FALSE; 892s # if (a == NULL && b == NULL) 892s # { 892s # ret = TRUE; 892s # goto out; 892s # } 892s # if (a == NULL || b == NULL) 892s # goto out; 892s # ret = g_variant_equal (a, b); 892s # out: 892s # return ret; 892s # } 892s # 892s # G_GNUC_UNUSED static gboolean 892s # _g_value_equal (const GValue *a, const GValue *b) 892s # { 892s # gboolean ret = FALSE; 892s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 892s # switch (G_VALUE_TYPE (a)) 892s # { 892s # case G_TYPE_BOOLEAN: 892s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 892s # break; 892s # case G_TYPE_UCHAR: 892s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 892s # break; 892s # case G_TYPE_INT: 892s # ret = (g_value_get_int (a) == g_value_get_int (b)); 892s # break; 892s # case G_TYPE_UINT: 892s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 892s # break; 892s # case G_TYPE_INT64: 892s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 892s # break; 892s # case G_TYPE_UINT64: 892s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 892s # break; 892s # case G_TYPE_DOUBLE: 892s # { 892s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 892s # gdouble da = g_value_get_double (a); 892s # gdouble db = g_value_get_double (b); 892s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 892s # } 892s # break; 892s # case G_TYPE_STRING: 892s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 892s # break; 892s # case G_TYPE_VARIANT: 892s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 892s # break; 892s # default: 892s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 892s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 892s # else 892s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 892s # break; 892s # } 892s # return ret; 892s # } 892s # 892s # /* ------------------------------------------------------------------------ 892s # * Code for interface org.project.SignalingIface 892s # * ------------------------------------------------------------------------ 892s # */ 892s # 892s # /** 892s # * SECTION:OrgProjectSignalingIface 892s # * @title: OrgProjectSignalingIface 892s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 892s # * 892s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 892s # */ 892s # 892s # enum 892s # { 892s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 892s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 892s # }; 892s # 892s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 892s # 892s # /* ---- Introspection data for org.project.SignalingIface ---- */ 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SimpleSignal", 892s # NULL, 892s # NULL 892s # }, 892s # "simple-signal" 892s # }; 892s # 892s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 892s # { 892s # { 892s # -1, 892s # (gchar *) "arg_aay", 892s # (gchar *) "aay", 892s # NULL 892s # }, 892s # FALSE 892s # }; 892s # 892s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 892s # { 892s # { 892s # -1, 892s # (gchar *) "SingleArgSignalAay", 892s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 892s # NULL 892s # }, 892s # "single-arg-signal-aay" 892s # }; 892s # 892s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 892s # { 892s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 892s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 892s # NULL 892s # }; 892s # 892s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 892s # { 892s # { 892s # -1, 892s # (gchar *) "org.project.SignalingIface", 892s # NULL, 892s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 892s # NULL, 892s # NULL 892s # }, 892s # "org-project-signaling-iface", 892s # }; 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_interface_info: 892s # * 892s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 892s # * 892s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 892s # */ 892s # GDBusInterfaceInfo * 892s # org_project_signaling_iface_interface_info (void) 892s # { 892s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_override_properties: 892s # * @klass: The class structure for a #GObject derived class. 892s # * @property_id_begin: The property id to assign to the first overridden property. 892s # * 892s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 892s # * The properties are overridden in the order they are defined. 892s # * 892s # * Returns: The last property id. 892s # */ 892s # guint 892s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 892s # { 892s # return property_id_begin - 1; 892s # } 892s # 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_simple_signal ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__VOID (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # inline static void 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 892s # GClosure *closure, 892s # GValue *return_value, 892s # unsigned int n_param_values, 892s # const GValue *param_values, 892s # void *invocation_hint, 892s # void *marshal_data) 892s # { 892s # g_cclosure_marshal_VOID__BOXED (closure, 892s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 892s # } 892s # 892s # 892s # /** 892s # * OrgProjectSignalingIface: 892s # * 892s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceIface: 892s # * @parent_iface: The parent interface. 892s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 892s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 892s # * 892s # * Virtual table for the D-Bus interface org.project.SignalingIface. 892s # */ 892s # 892s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 892s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 892s # 892s # static void 892s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # /* GObject signals for received D-Bus signals: */ 892s # /** 892s # * OrgProjectSignalingIface::simple-signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 892s # g_signal_new ("simple-signal", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_simple_signal, 892s # G_TYPE_NONE, 892s # 0); 892s # 892s # /** 892s # * OrgProjectSignalingIface::single-arg-signal-aay: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_aay: Argument. 892s # * 892s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 892s # * 892s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 892s # */ 892s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 892s # g_signal_new ("single-arg-signal-aay", 892s # G_TYPE_FROM_INTERFACE (iface), 892s # G_SIGNAL_RUN_LAST, 892s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 892s # NULL, 892s # NULL, 892s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 892s # G_TYPE_NONE, 892s # 1, G_TYPE_STRV); 892s # 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_simple_signal: 892s # * @object: A #OrgProjectSignalingIface. 892s # * 892s # * Emits the "SimpleSignal" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_emit_single_arg_signal_aay: 892s # * @object: A #OrgProjectSignalingIface. 892s # * @arg_arg_aay: Argument to pass with the signal. 892s # * 892s # * Emits the "SingleArgSignalAay" D-Bus signal. 892s # */ 892s # void 892s # org_project_signaling_iface_emit_single_arg_signal_aay ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *const *arg_arg_aay) 892s # { 892s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 892s # } 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxy: 892s # * 892s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceProxyClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceProxy. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceProxyPrivate 892s # { 892s # GData *qdata; 892s # }; 892s # 892s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_proxy_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 892s # g_datalist_clear (&proxy->priv->qdata); 892s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 892s # guint prop_id G_GNUC_UNUSED, 892s # const GValue *value G_GNUC_UNUSED, 892s # GParamSpec *pspec G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 892s # const gchar *sender_name G_GNUC_UNUSED, 892s # const gchar *signal_name, 892s # GVariant *parameters) 892s # { 892s # _ExtendedGDBusSignalInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # gsize n; 892s # guint signal_id; 892s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 892s # if (info == NULL) 892s # return; 892s # num_params = g_variant_n_children (parameters); 892s # paramv = g_new0 (GValue, num_params + 1); 892s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[0], proxy); 892s # g_variant_iter_init (&iter, parameters); 892s # n = 1; 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_signal_emitv (paramv, signal_id, 0, NULL); 892s # for (n = 0; n < num_params + 1; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 892s # GVariant *changed_properties, 892s # const gchar *const *invalidated_properties) 892s # { 892s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 892s # guint n; 892s # const gchar *key; 892s # GVariantIter *iter; 892s # _ExtendedGDBusPropertyInfo *info; 892s # g_variant_get (changed_properties, "a{sv}", &iter); 892s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 892s # g_datalist_remove_data (&proxy->priv->qdata, key); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # g_variant_iter_free (iter); 892s # for (n = 0; invalidated_properties[n] != NULL; n++) 892s # { 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 892s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 892s # if (info != NULL) 892s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 892s # } 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 892s # #else 892s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 892s # #endif 892s # 892s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusProxyClass *proxy_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 892s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 892s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 892s # 892s # proxy_class = G_DBUS_PROXY_CLASS (klass); 892s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 892s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_sync: 892s # * @connection: A #GDBusConnection. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_sync ( 892s # GDBusConnection *connection, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 892s # * @user_data: User data to pass to @callback. 892s # * 892s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 892s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 892s # */ 892s # void 892s # org_project_signaling_iface_proxy_new_for_bus ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GAsyncReadyCallback callback, 892s # gpointer user_data) 892s # { 892s # 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); 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_finish: 892s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 892s # * @error: Return location for error or %NULL 892s # * 892s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_finish ( 892s # GAsyncResult *res, 892s # GError **error) 892s # { 892s # GObject *ret; 892s # GObject *source_object; 892s # source_object = g_async_result_get_source_object (res); 892s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 892s # g_object_unref (source_object); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_proxy_new_for_bus_sync: 892s # * @bus_type: A #GBusType. 892s # * @flags: Flags from the #GDBusProxyFlags enumeration. 892s # * @name: A bus name (well-known or unique). 892s # * @object_path: An object path. 892s # * @cancellable: (nullable): A #GCancellable or %NULL. 892s # * @error: Return location for error or %NULL 892s # * 892s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 892s # * 892s # * The calling thread is blocked until a reply is received. 892s # * 892s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_proxy_new_for_bus_sync ( 892s # GBusType bus_type, 892s # GDBusProxyFlags flags, 892s # const gchar *name, 892s # const gchar *object_path, 892s # GCancellable *cancellable, 892s # GError **error) 892s # { 892s # GInitable *ret; 892s # 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); 892s # if (ret != NULL) 892s # return ORG_PROJECT_SIGNALING_IFACE (ret); 892s # else 892s # return NULL; 892s # } 892s # 892s # 892s # /* ------------------------------------------------------------------------ */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeleton: 892s # * 892s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 892s # */ 892s # 892s # /** 892s # * OrgProjectSignalingIfaceSkeletonClass: 892s # * @parent_class: The parent class. 892s # * 892s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 892s # */ 892s # 892s # struct _OrgProjectSignalingIfaceSkeletonPrivate 892s # { 892s # GValue *properties; 892s # GList *changed_properties; 892s # GSource *changed_properties_idle_source; 892s # GMainContext *context; 892s # GMutex lock; 892s # }; 892s # 892s # static void 892s # _org_project_signaling_iface_skeleton_handle_method_call ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name, 892s # const gchar *method_name, 892s # GVariant *parameters, 892s # GDBusMethodInvocation *invocation, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # _ExtendedGDBusMethodInfo *info; 892s # GVariantIter iter; 892s # GVariant *child; 892s # GValue *paramv; 892s # gsize num_params; 892s # guint num_extra; 892s # gsize n; 892s # guint signal_id; 892s # GValue return_value = G_VALUE_INIT; 892s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 892s # g_assert (info != NULL); 892s # num_params = g_variant_n_children (parameters); 892s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 892s # n = 0; 892s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_set_object (¶mv[n++], skeleton); 892s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 892s # g_value_set_object (¶mv[n++], invocation); 892s # if (info->pass_fdlist) 892s # { 892s # #ifdef G_OS_UNIX 892s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 892s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 892s # #else 892s # g_assert_not_reached (); 892s # #endif 892s # } 892s # g_variant_iter_init (&iter, parameters); 892s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 892s # { 892s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 892s # if (arg_info->use_gvariant) 892s # { 892s # g_value_init (¶mv[n], G_TYPE_VARIANT); 892s # g_value_set_variant (¶mv[n], child); 892s # n++; 892s # } 892s # else 892s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 892s # g_variant_unref (child); 892s # } 892s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 892s # g_value_init (&return_value, G_TYPE_BOOLEAN); 892s # g_signal_emitv (paramv, signal_id, 0, &return_value); 892s # if (!g_value_get_boolean (&return_value)) 892s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 892s # g_value_unset (&return_value); 892s # for (n = 0; n < num_params + num_extra; n++) 892s # g_value_unset (¶mv[n]); 892s # g_free (paramv); 892s # } 892s # 892s # static GVariant * 892s # _org_project_signaling_iface_skeleton_handle_get_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # GVariant *ret; 892s # ret = NULL; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # g_value_init (&value, pspec->value_type); 892s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 892s # g_value_unset (&value); 892s # } 892s # return ret; 892s # } 892s # 892s # static gboolean 892s # _org_project_signaling_iface_skeleton_handle_set_property ( 892s # GDBusConnection *connection G_GNUC_UNUSED, 892s # const gchar *sender G_GNUC_UNUSED, 892s # const gchar *object_path G_GNUC_UNUSED, 892s # const gchar *interface_name G_GNUC_UNUSED, 892s # const gchar *property_name, 892s # GVariant *variant, 892s # GError **error, 892s # gpointer user_data) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 892s # GValue value = G_VALUE_INIT; 892s # GParamSpec *pspec; 892s # _ExtendedGDBusPropertyInfo *info; 892s # gboolean ret; 892s # ret = FALSE; 892s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 892s # g_assert (info != NULL); 892s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 892s # if (pspec == NULL) 892s # { 892s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 892s # } 892s # else 892s # { 892s # if (info->use_gvariant) 892s # g_value_set_variant (&value, variant); 892s # else 892s # g_dbus_gvariant_to_gvalue (variant, &value); 892s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 892s # g_value_unset (&value); 892s # ret = TRUE; 892s # } 892s # return ret; 892s # } 892s # 892s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 892s # { 892s # _org_project_signaling_iface_skeleton_handle_method_call, 892s # _org_project_signaling_iface_skeleton_handle_get_property, 892s # _org_project_signaling_iface_skeleton_handle_set_property, 892s # {NULL} 892s # }; 892s # 892s # static GDBusInterfaceInfo * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return org_project_signaling_iface_interface_info (); 892s # } 892s # 892s # static GDBusInterfaceVTable * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 892s # { 892s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 892s # } 892s # 892s # static GVariant * 892s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 892s # 892s # GVariantBuilder builder; 892s # guint n; 892s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 892s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 892s # goto out; 892s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 892s # { 892s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 892s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 892s # { 892s # GVariant *value; 892s # 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); 892s # if (value != NULL) 892s # { 892s # g_variant_take_ref (value); 892s # g_variant_builder_add (&builder, "{sv}", info->name, value); 892s # g_variant_unref (value); 892s # } 892s # } 892s # } 892s # out: 892s # return g_variant_builder_end (&builder); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 892s # { 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_simple_signal ( 892s # OrgProjectSignalingIface *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void 892s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 892s # OrgProjectSignalingIface *object, 892s # const gchar *const *arg_arg_aay) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # 892s # GList *connections, *l; 892s # GVariant *signal_variant; 892s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 892s # 892s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 892s # arg_arg_aay)); 892s # for (l = connections; l != NULL; l = l->next) 892s # { 892s # GDBusConnection *connection = l->data; 892s # g_dbus_connection_emit_signal (connection, 892s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 892s # signal_variant, NULL); 892s # } 892s # g_variant_unref (signal_variant); 892s # g_list_free_full (connections, g_object_unref); 892s # } 892s # 892s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #else 892s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 892s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 892s # 892s # #endif 892s # static void 892s # org_project_signaling_iface_skeleton_finalize (GObject *object) 892s # { 892s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 892s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 892s # if (skeleton->priv->changed_properties_idle_source != NULL) 892s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 892s # g_main_context_unref (skeleton->priv->context); 892s # g_mutex_clear (&skeleton->priv->lock); 892s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 892s # { 892s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 892s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 892s # #else 892s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 892s # #endif 892s # 892s # g_mutex_init (&skeleton->priv->lock); 892s # skeleton->priv->context = g_main_context_ref_thread_default (); 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 892s # { 892s # GObjectClass *gobject_class; 892s # GDBusInterfaceSkeletonClass *skeleton_class; 892s # 892s # gobject_class = G_OBJECT_CLASS (klass); 892s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 892s # 892s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 892s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 892s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 892s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 892s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 892s # 892s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 892s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 892s # #endif 892s # } 892s # 892s # static void 892s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 892s # { 892s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 892s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 892s # } 892s # 892s # /** 892s # * org_project_signaling_iface_skeleton_new: 892s # * 892s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 892s # * 892s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 892s # */ 892s # OrgProjectSignalingIface * 892s # org_project_signaling_iface_skeleton_new (void) 892s # { 892s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 892s # } 892s # /tmp/tmpazgdp3lz/tmpd7el4807.xml: 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # 892s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpazgdp3lz/tmpd7el4807.xml', '--output', '-', '--body'] 892s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 892s # Output: /* 892s # * This file is generated by gdbus-codegen, do not modify it. 892s # * 892s # * The license of this code is the same as for the D-Bus interface description 892s # * it was derived from. Note that it links to GLib, so must comply with the 892s # * LGPL linking clauses. 892s # */ 892s # 892s # #ifdef HAVE_CONFIG_H 892s # # include "config.h" 892s # #endif 892s # 892s # #include 892s # #ifdef G_OS_UNIX 892s # # include 892s # #endif 892s # 892s # #ifdef G_ENABLE_DEBUG 892s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 892s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 892s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 892s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 892s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 892s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 892s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 892s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 892s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 892s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 892s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 892s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 892s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 892s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 892s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 892s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 892s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 892s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 892s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 892s # #else /* !G_ENABLE_DEBUG */ 892s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 892s # * Do not access GValues directly in your code. Instead, use the 892s # * g_value_get_*() functions 892s # */ 892s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 892s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 892s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 892s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 892s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 892s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 892s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 892s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 892s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 893s # #endif /* !G_ENABLE_DEBUG */ 893s # 893s # typedef struct 893s # { 893s # GDBusArgInfo parent_struct; 893s # gboolean use_gvariant; 893s # } _ExtendedGDBusArgInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusMethodInfo parent_struct; 893s # const gchar *signal_name; 893s # gboolean pass_fdlist; 893s # } _ExtendedGDBusMethodInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusSignalInfo parent_struct; 893s # const gchar *signal_name; 893s # } _ExtendedGDBusSignalInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusPropertyInfo parent_struct; 893s # const gchar *hyphen_name; 893s # guint use_gvariant : 1; 893s # guint emits_changed_signal : 1; 893s # } _ExtendedGDBusPropertyInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusInterfaceInfo parent_struct; 893s # const gchar *hyphen_name; 893s # } _ExtendedGDBusInterfaceInfo; 893s # 893s # typedef struct 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # guint prop_id; 893s # GValue orig_value; /* the value before the change */ 893s # } ChangedProperty; 893s # 893s # static void 893s # _changed_property_free (ChangedProperty *data) 893s # { 893s # g_value_unset (&data->orig_value); 893s # g_free (data); 893s # } 893s # 893s # static gboolean 893s # _g_strv_equal0 (gchar **a, gchar **b) 893s # { 893s # gboolean ret = FALSE; 893s # guint n; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # if (g_strv_length (a) != g_strv_length (b)) 893s # goto out; 893s # for (n = 0; a[n] != NULL; n++) 893s # if (g_strcmp0 (a[n], b[n]) != 0) 893s # goto out; 893s # ret = TRUE; 893s # out: 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _g_variant_equal0 (GVariant *a, GVariant *b) 893s # { 893s # gboolean ret = FALSE; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # ret = g_variant_equal (a, b); 893s # out: 893s # return ret; 893s # } 893s # 893s # G_GNUC_UNUSED static gboolean 893s # _g_value_equal (const GValue *a, const GValue *b) 893s # { 893s # gboolean ret = FALSE; 893s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 893s # switch (G_VALUE_TYPE (a)) 893s # { 893s # case G_TYPE_BOOLEAN: 893s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 893s # break; 893s # case G_TYPE_UCHAR: 893s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 893s # break; 893s # case G_TYPE_INT: 893s # ret = (g_value_get_int (a) == g_value_get_int (b)); 893s # break; 893s # case G_TYPE_UINT: 893s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 893s # break; 893s # case G_TYPE_INT64: 893s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 893s # break; 893s # case G_TYPE_UINT64: 893s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 893s # break; 893s # case G_TYPE_DOUBLE: 893s # { 893s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 893s # gdouble da = g_value_get_double (a); 893s # gdouble db = g_value_get_double (b); 893s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 893s # } 893s # break; 893s # case G_TYPE_STRING: 893s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 893s # break; 893s # case G_TYPE_VARIANT: 893s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 893s # break; 893s # default: 893s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 893s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 893s # else 893s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 893s # break; 893s # } 893s # return ret; 893s # } 893s # 893s # /* ------------------------------------------------------------------------ 893s # * Code for interface org.project.SignalingIface 893s # * ------------------------------------------------------------------------ 893s # */ 893s # 893s # /** 893s # * SECTION:OrgProjectSignalingIface 893s # * @title: OrgProjectSignalingIface 893s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 893s # * 893s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 893s # */ 893s # 893s # enum 893s # { 893s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 893s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 893s # }; 893s # 893s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 893s # 893s # /* ---- Introspection data for org.project.SignalingIface ---- */ 893s # 893s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 893s # { 893s # { 893s # -1, 893s # (gchar *) "SimpleSignal", 893s # NULL, 893s # NULL 893s # }, 893s # "simple-signal" 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 893s # { 893s # { 893s # -1, 893s # (gchar *) "arg_asv", 893s # (gchar *) "a{sv}", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 893s # { 893s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 893s # { 893s # { 893s # -1, 893s # (gchar *) "SingleArgSignalAsv", 893s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 893s # NULL 893s # }, 893s # "single-arg-signal-asv" 893s # }; 893s # 893s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 893s # { 893s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 893s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 893s # { 893s # { 893s # -1, 893s # (gchar *) "org.project.SignalingIface", 893s # NULL, 893s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 893s # NULL, 893s # NULL 893s # }, 893s # "org-project-signaling-iface", 893s # }; 893s # 893s # 893s # /** 893s # * org_project_signaling_iface_interface_info: 893s # * 893s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 893s # * 893s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 893s # */ 893s # GDBusInterfaceInfo * 893s # org_project_signaling_iface_interface_info (void) 893s # { 893s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_override_properties: 893s # * @klass: The class structure for a #GObject derived class. 893s # * @property_id_begin: The property id to assign to the first overridden property. 893s # * 893s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 893s # * The properties are overridden in the order they are defined. 893s # * 893s # * Returns: The last property id. 893s # */ 893s # guint 893s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 893s # { 893s # return property_id_begin - 1; 893s # } 893s # 893s # 893s # inline static void 893s # org_project_signaling_iface_signal_marshal_simple_signal ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # g_cclosure_marshal_VOID__VOID (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # g_cclosure_marshal_VOID__VARIANT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # 893s # /** 893s # * OrgProjectSignalingIface: 893s # * 893s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 893s # */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceIface: 893s # * @parent_iface: The parent interface. 893s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 893s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 893s # * 893s # * Virtual table for the D-Bus interface org.project.SignalingIface. 893s # */ 893s # 893s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 893s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 893s # 893s # static void 893s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 893s # { 893s # /* GObject signals for received D-Bus signals: */ 893s # /** 893s # * OrgProjectSignalingIface::simple-signal: 893s # * @object: A #OrgProjectSignalingIface. 893s # * 893s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 893s # * 893s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 893s # */ 893s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 893s # g_signal_new ("simple-signal", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 893s # NULL, 893s # NULL, 893s # org_project_signaling_iface_signal_marshal_simple_signal, 893s # G_TYPE_NONE, 893s # 0); 893s # 893s # /** 893s # * OrgProjectSignalingIface::single-arg-signal-asv: 893s # * @object: A #OrgProjectSignalingIface. 893s # * @arg_arg_asv: Argument. 893s # * 893s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 893s # * 893s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 893s # */ 893s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 893s # g_signal_new ("single-arg-signal-asv", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 893s # NULL, 893s # NULL, 893s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 893s # G_TYPE_NONE, 893s # 1, G_TYPE_VARIANT); 893s # 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_emit_simple_signal: 893s # * @object: A #OrgProjectSignalingIface. 893s # * 893s # * Emits the "SimpleSignal" D-Bus signal. 893s # */ 893s # void 893s # org_project_signaling_iface_emit_simple_signal ( 893s # OrgProjectSignalingIface *object) 893s # { 893s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_emit_single_arg_signal_asv: 893s # * @object: A #OrgProjectSignalingIface. 893s # * @arg_arg_asv: Argument to pass with the signal. 893s # * 893s # * Emits the "SingleArgSignalAsv" D-Bus signal. 893s # */ 893s # void 893s # org_project_signaling_iface_emit_single_arg_signal_asv ( 893s # OrgProjectSignalingIface *object, 893s # GVariant *arg_arg_asv) 893s # { 893s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceProxy: 893s # * 893s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceProxyClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectSignalingIfaceProxy. 893s # */ 893s # 893s # struct _OrgProjectSignalingIfaceProxyPrivate 893s # { 893s # GData *qdata; 893s # }; 893s # 893s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 893s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_signaling_iface_proxy_finalize (GObject *object) 893s # { 893s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 893s # g_datalist_clear (&proxy->priv->qdata); 893s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # const GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 893s # const gchar *sender_name G_GNUC_UNUSED, 893s # const gchar *signal_name, 893s # GVariant *parameters) 893s # { 893s # _ExtendedGDBusSignalInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # gsize n; 893s # guint signal_id; 893s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 893s # if (info == NULL) 893s # return; 893s # num_params = g_variant_n_children (parameters); 893s # paramv = g_new0 (GValue, num_params + 1); 893s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_value_set_object (¶mv[0], proxy); 893s # g_variant_iter_init (&iter, parameters); 893s # n = 1; 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_signal_emitv (paramv, signal_id, 0, NULL); 893s # for (n = 0; n < num_params + 1; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 893s # GVariant *changed_properties, 893s # const gchar *const *invalidated_properties) 893s # { 893s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 893s # guint n; 893s # const gchar *key; 893s # GVariantIter *iter; 893s # _ExtendedGDBusPropertyInfo *info; 893s # g_variant_get (changed_properties, "a{sv}", &iter); 893s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 893s # g_datalist_remove_data (&proxy->priv->qdata, key); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # g_variant_iter_free (iter); 893s # for (n = 0; invalidated_properties[n] != NULL; n++) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 893s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 893s # #else 893s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 893s # #endif 893s # 893s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusProxyClass *proxy_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 893s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 893s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 893s # 893s # proxy_class = G_DBUS_PROXY_CLASS (klass); 893s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 893s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 893s # * 893s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_signaling_iface_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_sync: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_for_bus: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 893s # * 893s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_signaling_iface_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_for_bus_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_for_bus_sync: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceSkeleton: 893s # * 893s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceSkeletonClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 893s # */ 893s # 893s # struct _OrgProjectSignalingIfaceSkeletonPrivate 893s # { 893s # GValue *properties; 893s # GList *changed_properties; 893s # GSource *changed_properties_idle_source; 893s # GMainContext *context; 893s # GMutex lock; 893s # }; 893s # 893s # static void 893s # _org_project_signaling_iface_skeleton_handle_method_call ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name, 893s # const gchar *method_name, 893s # GVariant *parameters, 893s # GDBusMethodInvocation *invocation, 893s # gpointer user_data) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 893s # _ExtendedGDBusMethodInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # guint num_extra; 893s # gsize n; 893s # guint signal_id; 893s # GValue return_value = G_VALUE_INIT; 893s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 893s # g_assert (info != NULL); 893s # num_params = g_variant_n_children (parameters); 893s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 893s # n = 0; 893s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_value_set_object (¶mv[n++], skeleton); 893s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 893s # g_value_set_object (¶mv[n++], invocation); 893s # if (info->pass_fdlist) 893s # { 893s # #ifdef G_OS_UNIX 893s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 893s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 893s # #else 893s # g_assert_not_reached (); 893s # #endif 893s # } 893s # g_variant_iter_init (&iter, parameters); 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_value_init (&return_value, G_TYPE_BOOLEAN); 893s # g_signal_emitv (paramv, signal_id, 0, &return_value); 893s # if (!g_value_get_boolean (&return_value)) 893s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 893s # g_value_unset (&return_value); 893s # for (n = 0; n < num_params + num_extra; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static GVariant * 893s # _org_project_signaling_iface_skeleton_handle_get_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # GVariant *ret; 893s # ret = NULL; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # g_value_init (&value, pspec->value_type); 893s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_value_unset (&value); 893s # } 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _org_project_signaling_iface_skeleton_handle_set_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GVariant *variant, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # gboolean ret; 893s # ret = FALSE; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # if (info->use_gvariant) 893s # g_value_set_variant (&value, variant); 893s # else 893s # g_dbus_gvariant_to_gvalue (variant, &value); 893s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # g_value_unset (&value); 893s # ret = TRUE; 893s # } 893s # return ret; 893s # } 893s # 893s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 893s # { 893s # _org_project_signaling_iface_skeleton_handle_method_call, 893s # _org_project_signaling_iface_skeleton_handle_get_property, 893s # _org_project_signaling_iface_skeleton_handle_set_property, 893s # {NULL} 893s # }; 893s # 893s # static GDBusInterfaceInfo * 893s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return org_project_signaling_iface_interface_info (); 893s # } 893s # 893s # static GDBusInterfaceVTable * 893s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 893s # } 893s # 893s # static GVariant * 893s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 893s # 893s # GVariantBuilder builder; 893s # guint n; 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 893s # goto out; 893s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 893s # { 893s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 893s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 893s # { 893s # GVariant *value; 893s # 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); 893s # if (value != NULL) 893s # { 893s # g_variant_take_ref (value); 893s # g_variant_builder_add (&builder, "{sv}", info->name, value); 893s # g_variant_unref (value); 893s # } 893s # } 893s # } 893s # out: 893s # return g_variant_builder_end (&builder); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # _org_project_signaling_iface_on_signal_simple_signal ( 893s # OrgProjectSignalingIface *object) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 893s # 893s # GList *connections, *l; 893s # GVariant *signal_variant; 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # 893s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 893s # for (l = connections; l != NULL; l = l->next) 893s # { 893s # GDBusConnection *connection = l->data; 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 893s # signal_variant, NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # 893s # static void 893s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 893s # OrgProjectSignalingIface *object, 893s # GVariant *arg_arg_asv) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 893s # 893s # GList *connections, *l; 893s # GVariant *signal_variant; 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # 893s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 893s # arg_arg_asv)); 893s # for (l = connections; l != NULL; l = l->next) 893s # { 893s # GDBusConnection *connection = l->data; 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 893s # signal_variant, NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # 893s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_signaling_iface_skeleton_finalize (GObject *object) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # g_main_context_unref (skeleton->priv->context); 893s # g_mutex_clear (&skeleton->priv->lock); 893s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 893s # #else 893s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 893s # #endif 893s # 893s # g_mutex_init (&skeleton->priv->lock); 893s # skeleton->priv->context = g_main_context_ref_thread_default (); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusInterfaceSkeletonClass *skeleton_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 893s # 893s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 893s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 893s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 893s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 893s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 893s # { 893s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 893s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_skeleton_new: 893s # * 893s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_skeleton_new (void) 893s # { 893s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 893s # } 893s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 893s # tmpdir: /tmp/tmpfivwjtp2 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpfivwjtp2/tmp1d4gjs6i.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfivwjtp2/tmp1d4gjs6i.xml', '--output', '-', '--body'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifdef HAVE_CONFIG_H 893s # # include "config.h" 893s # #endif 893s # 893s # #include 893s # #ifdef G_OS_UNIX 893s # # include 893s # #endif 893s # 893s # #ifdef G_ENABLE_DEBUG 893s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 893s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 893s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 893s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 893s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 893s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 893s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 893s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 893s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 893s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 893s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 893s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 893s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 893s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 893s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 893s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 893s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 893s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 893s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 893s # #else /* !G_ENABLE_DEBUG */ 893s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 893s # * Do not access GValues directly in your code. Instead, use the 893s # * g_value_get_*() functions 893s # */ 893s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 893s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 893s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 893s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 893s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 893s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 893s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 893s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 893s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 893s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 893s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 893s # #endif /* !G_ENABLE_DEBUG */ 893s # 893s # typedef struct 893s # { 893s # GDBusArgInfo parent_struct; 893s # gboolean use_gvariant; 893s # } _ExtendedGDBusArgInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusMethodInfo parent_struct; 893s # const gchar *signal_name; 893s # gboolean pass_fdlist; 893s # } _ExtendedGDBusMethodInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusSignalInfo parent_struct; 893s # const gchar *signal_name; 893s # } _ExtendedGDBusSignalInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusPropertyInfo parent_struct; 893s # const gchar *hyphen_name; 893s # guint use_gvariant : 1; 893s # guint emits_changed_signal : 1; 893s # } _ExtendedGDBusPropertyInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusInterfaceInfo parent_struct; 893s # const gchar *hyphen_name; 893s # } _ExtendedGDBusInterfaceInfo; 893s # 893s # typedef struct 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # guint prop_id; 893s # GValue orig_value; /* the value before the change */ 893s # } ChangedProperty; 893s # 893s # static void 893s # _changed_property_free (ChangedProperty *data) 893s # { 893s # g_value_unset (&data->orig_value); 893s # g_free (data); 893s # } 893s # 893s # static gboolean 893s # _g_strv_equal0 (gchar **a, gchar **b) 893s # { 893s # gboolean ret = FALSE; 893s # guint n; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # if (g_strv_length (a) != g_strv_length (b)) 893s # goto out; 893s # for (n = 0; a[n] != NULL; n++) 893s # if (g_strcmp0 (a[n], b[n]) != 0) 893s # goto out; 893s # ret = TRUE; 893s # out: 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _g_variant_equal0 (GVariant *a, GVariant *b) 893s # { 893s # gboolean ret = FALSE; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # ret = g_variant_equal (a, b); 893s # out: 893s # return ret; 893s # } 893s # 893s # G_GNUC_UNUSED static gboolean 893s # _g_value_equal (const GValue *a, const GValue *b) 893s # { 893s # gboolean ret = FALSE; 893s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 893s # switch (G_VALUE_TYPE (a)) 893s # { 893s # case G_TYPE_BOOLEAN: 893s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 893s # break; 893s # case G_TYPE_UCHAR: 893s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 893s # break; 893s # case G_TYPE_INT: 893s # ret = (g_value_get_int (a) == g_value_get_int (b)); 893s # break; 893s # case G_TYPE_UINT: 893s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 893s # break; 893s # case G_TYPE_INT64: 893s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 893s # break; 893s # case G_TYPE_UINT64: 893s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 893s # break; 893s # case G_TYPE_DOUBLE: 893s # { 893s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 893s # gdouble da = g_value_get_double (a); 893s # gdouble db = g_value_get_double (b); 893s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 893s # } 893s # break; 893s # case G_TYPE_STRING: 893s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 893s # break; 893s # case G_TYPE_VARIANT: 893s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 893s # break; 893s # default: 893s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 893s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 893s # else 893s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 893s # break; 893s # } 893s # return ret; 893s # } 893s # 893s # static void 893s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 893s # GClosure *closure, 893s # GValue *return_value G_GNUC_UNUSED, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint G_GNUC_UNUSED, 893s # void *marshal_data) 893s # { 893s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 893s # (void *data1, 893s # gboolean arg_an_b, 893s # guchar arg_an_y, 893s # gint16 arg_an_n, 893s # guint16 arg_an_q, 893s # gint arg_an_i, 893s # guint arg_an_u, 893s # gint64 arg_an_x, 893s # guint64 arg_an_t, 893s # gdouble arg_an_d, 893s # const gchar *arg_an_s, 893s # const gchar *arg_an_o, 893s # const gchar *arg_an_g, 893s # GVariant *arg_an_h, 893s # const gchar *arg_an_ay, 893s # const gchar *const *arg_an_as, 893s # const gchar *const *arg_an_ao, 893s # const gchar *const *arg_an_aay, 893s # GVariant *arg_an_asv, 893s # void *data2); 893s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 893s # GCClosure *cc = (GCClosure*) closure; 893s # void *data1, *data2; 893s # 893s # g_return_if_fail (n_param_values == 19); 893s # 893s # if (G_CCLOSURE_SWAP_DATA (closure)) 893s # { 893s # data1 = closure->data; 893s # data2 = g_value_peek_pointer (param_values + 0); 893s # } 893s # else 893s # { 893s # data1 = g_value_peek_pointer (param_values + 0); 893s # data2 = closure->data; 893s # } 893s # 893s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 893s # (marshal_data ? marshal_data : cc->callback); 893s # 893s # callback (data1, 893s # g_marshal_value_peek_boolean (param_values + 1), 893s # g_marshal_value_peek_uchar (param_values + 2), 893s # g_marshal_value_peek_int (param_values + 3), 893s # g_marshal_value_peek_uint (param_values + 4), 893s # g_marshal_value_peek_int (param_values + 5), 893s # g_marshal_value_peek_uint (param_values + 6), 893s # g_marshal_value_peek_int64 (param_values + 7), 893s # g_marshal_value_peek_uint64 (param_values + 8), 893s # g_marshal_value_peek_double (param_values + 9), 893s # g_marshal_value_peek_string (param_values + 10), 893s # g_marshal_value_peek_string (param_values + 11), 893s # g_marshal_value_peek_string (param_values + 12), 893s # g_marshal_value_peek_variant (param_values + 13), 893s # g_marshal_value_peek_string (param_values + 14), 893s # g_marshal_value_peek_boxed (param_values + 15), 893s # g_marshal_value_peek_boxed (param_values + 16), 893s # g_marshal_value_peek_boxed (param_values + 17), 893s # g_marshal_value_peek_variant (param_values + 18), 893s # data2); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ 893s # * Code for interface org.project.SignalingIface 893s # * ------------------------------------------------------------------------ 893s # */ 893s # 893s # /** 893s # * SECTION:OrgProjectSignalingIface 893s # * @title: OrgProjectSignalingIface 893s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 893s # * 893s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 893s # */ 893s # 893s # enum 893s # { 893s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 893s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 893s # }; 893s # 893s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 893s # 893s # /* ---- Introspection data for org.project.SignalingIface ---- */ 893s # 893s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 893s # { 893s # { 893s # -1, 893s # (gchar *) "SimpleSignal", 893s # NULL, 893s # NULL 893s # }, 893s # "simple-signal" 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_b", 893s # (gchar *) "b", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_y", 893s # (gchar *) "y", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_n", 893s # (gchar *) "n", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_q", 893s # (gchar *) "q", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_i", 893s # (gchar *) "i", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_u", 893s # (gchar *) "u", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_x", 893s # (gchar *) "x", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_t", 893s # (gchar *) "t", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_d", 893s # (gchar *) "d", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_s", 893s # (gchar *) "s", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_o", 893s # (gchar *) "o", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_g", 893s # (gchar *) "g", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_h", 893s # (gchar *) "h", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_ay", 893s # (gchar *) "ay", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_as", 893s # (gchar *) "as", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_ao", 893s # (gchar *) "ao", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_aay", 893s # (gchar *) "aay", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 893s # { 893s # { 893s # -1, 893s # (gchar *) "an_asv", 893s # (gchar *) "a{sv}", 893s # NULL 893s # }, 893s # FALSE 893s # }; 893s # 893s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 893s # { 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 893s # { 893s # { 893s # -1, 893s # (gchar *) "SignalWithManyArgs", 893s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 893s # NULL 893s # }, 893s # "signal-with-many-args" 893s # }; 893s # 893s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 893s # { 893s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 893s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 893s # { 893s # { 893s # -1, 893s # (gchar *) "org.project.SignalingIface", 893s # NULL, 893s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 893s # NULL, 893s # NULL 893s # }, 893s # "org-project-signaling-iface", 893s # }; 893s # 893s # 893s # /** 893s # * org_project_signaling_iface_interface_info: 893s # * 893s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 893s # * 893s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 893s # */ 893s # GDBusInterfaceInfo * 893s # org_project_signaling_iface_interface_info (void) 893s # { 893s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_override_properties: 893s # * @klass: The class structure for a #GObject derived class. 893s # * @property_id_begin: The property id to assign to the first overridden property. 893s # * 893s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 893s # * The properties are overridden in the order they are defined. 893s # * 893s # * Returns: The last property id. 893s # */ 893s # guint 893s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 893s # { 893s # return property_id_begin - 1; 893s # } 893s # 893s # 893s # inline static void 893s # org_project_signaling_iface_signal_marshal_simple_signal ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # g_cclosure_marshal_VOID__VOID (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # 893s # /** 893s # * OrgProjectSignalingIface: 893s # * 893s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 893s # */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceIface: 893s # * @parent_iface: The parent interface. 893s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 893s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 893s # * 893s # * Virtual table for the D-Bus interface org.project.SignalingIface. 893s # */ 893s # 893s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 893s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 893s # 893s # static void 893s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 893s # { 893s # /* GObject signals for received D-Bus signals: */ 893s # /** 893s # * OrgProjectSignalingIface::simple-signal: 893s # * @object: A #OrgProjectSignalingIface. 893s # * 893s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 893s # * 893s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 893s # */ 893s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 893s # g_signal_new ("simple-signal", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 893s # NULL, 893s # NULL, 893s # org_project_signaling_iface_signal_marshal_simple_signal, 893s # G_TYPE_NONE, 893s # 0); 893s # 893s # /** 893s # * OrgProjectSignalingIface::signal-with-many-args: 893s # * @object: A #OrgProjectSignalingIface. 893s # * @arg_an_b: Argument. 893s # * @arg_an_y: Argument. 893s # * @arg_an_n: Argument. 893s # * @arg_an_q: Argument. 893s # * @arg_an_i: Argument. 893s # * @arg_an_u: Argument. 893s # * @arg_an_x: Argument. 893s # * @arg_an_t: Argument. 893s # * @arg_an_d: Argument. 893s # * @arg_an_s: Argument. 893s # * @arg_an_o: Argument. 893s # * @arg_an_g: Argument. 893s # * @arg_an_h: Argument. 893s # * @arg_an_ay: Argument. 893s # * @arg_an_as: Argument. 893s # * @arg_an_ao: Argument. 893s # * @arg_an_aay: Argument. 893s # * @arg_an_asv: Argument. 893s # * 893s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 893s # * 893s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 893s # */ 893s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 893s # g_signal_new ("signal-with-many-args", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 893s # NULL, 893s # NULL, 893s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 893s # G_TYPE_NONE, 893s # 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); 893s # 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_emit_simple_signal: 893s # * @object: A #OrgProjectSignalingIface. 893s # * 893s # * Emits the "SimpleSignal" D-Bus signal. 893s # */ 893s # void 893s # org_project_signaling_iface_emit_simple_signal ( 893s # OrgProjectSignalingIface *object) 893s # { 893s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_emit_signal_with_many_args: 893s # * @object: A #OrgProjectSignalingIface. 893s # * @arg_an_b: Argument to pass with the signal. 893s # * @arg_an_y: Argument to pass with the signal. 893s # * @arg_an_n: Argument to pass with the signal. 893s # * @arg_an_q: Argument to pass with the signal. 893s # * @arg_an_i: Argument to pass with the signal. 893s # * @arg_an_u: Argument to pass with the signal. 893s # * @arg_an_x: Argument to pass with the signal. 893s # * @arg_an_t: Argument to pass with the signal. 893s # * @arg_an_d: Argument to pass with the signal. 893s # * @arg_an_s: Argument to pass with the signal. 893s # * @arg_an_o: Argument to pass with the signal. 893s # * @arg_an_g: Argument to pass with the signal. 893s # * @arg_an_h: Argument to pass with the signal. 893s # * @arg_an_ay: Argument to pass with the signal. 893s # * @arg_an_as: Argument to pass with the signal. 893s # * @arg_an_ao: Argument to pass with the signal. 893s # * @arg_an_aay: Argument to pass with the signal. 893s # * @arg_an_asv: Argument to pass with the signal. 893s # * 893s # * Emits the "SignalWithManyArgs" D-Bus signal. 893s # */ 893s # void 893s # org_project_signaling_iface_emit_signal_with_many_args ( 893s # OrgProjectSignalingIface *object, 893s # gboolean arg_an_b, 893s # guchar arg_an_y, 893s # gint16 arg_an_n, 893s # guint16 arg_an_q, 893s # gint arg_an_i, 893s # guint arg_an_u, 893s # gint64 arg_an_x, 893s # guint64 arg_an_t, 893s # gdouble arg_an_d, 893s # const gchar *arg_an_s, 893s # const gchar *arg_an_o, 893s # const gchar *arg_an_g, 893s # GVariant *arg_an_h, 893s # const gchar *arg_an_ay, 893s # const gchar *const *arg_an_as, 893s # const gchar *const *arg_an_ao, 893s # const gchar *const *arg_an_aay, 893s # GVariant *arg_an_asv) 893s # { 893s # 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); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceProxy: 893s # * 893s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceProxyClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectSignalingIfaceProxy. 893s # */ 893s # 893s # struct _OrgProjectSignalingIfaceProxyPrivate 893s # { 893s # GData *qdata; 893s # }; 893s # 893s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 893s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_signaling_iface_proxy_finalize (GObject *object) 893s # { 893s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 893s # g_datalist_clear (&proxy->priv->qdata); 893s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # const GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 893s # const gchar *sender_name G_GNUC_UNUSED, 893s # const gchar *signal_name, 893s # GVariant *parameters) 893s # { 893s # _ExtendedGDBusSignalInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # gsize n; 893s # guint signal_id; 893s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 893s # if (info == NULL) 893s # return; 893s # num_params = g_variant_n_children (parameters); 893s # paramv = g_new0 (GValue, num_params + 1); 893s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_value_set_object (¶mv[0], proxy); 893s # g_variant_iter_init (&iter, parameters); 893s # n = 1; 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_signal_emitv (paramv, signal_id, 0, NULL); 893s # for (n = 0; n < num_params + 1; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 893s # GVariant *changed_properties, 893s # const gchar *const *invalidated_properties) 893s # { 893s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 893s # guint n; 893s # const gchar *key; 893s # GVariantIter *iter; 893s # _ExtendedGDBusPropertyInfo *info; 893s # g_variant_get (changed_properties, "a{sv}", &iter); 893s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 893s # g_datalist_remove_data (&proxy->priv->qdata, key); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # g_variant_iter_free (iter); 893s # for (n = 0; invalidated_properties[n] != NULL; n++) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 893s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 893s # #else 893s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 893s # #endif 893s # 893s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusProxyClass *proxy_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 893s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 893s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 893s # 893s # proxy_class = G_DBUS_PROXY_CLASS (klass); 893s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 893s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 893s # * 893s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_signaling_iface_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_sync: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_for_bus: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 893s # * 893s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_signaling_iface_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_for_bus_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_proxy_new_for_bus_sync: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_SIGNALING_IFACE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceSkeleton: 893s # * 893s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectSignalingIfaceSkeletonClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 893s # */ 893s # 893s # struct _OrgProjectSignalingIfaceSkeletonPrivate 893s # { 893s # GValue *properties; 893s # GList *changed_properties; 893s # GSource *changed_properties_idle_source; 893s # GMainContext *context; 893s # GMutex lock; 893s # }; 893s # 893s # static void 893s # _org_project_signaling_iface_skeleton_handle_method_call ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name, 893s # const gchar *method_name, 893s # GVariant *parameters, 893s # GDBusMethodInvocation *invocation, 893s # gpointer user_data) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 893s # _ExtendedGDBusMethodInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # guint num_extra; 893s # gsize n; 893s # guint signal_id; 893s # GValue return_value = G_VALUE_INIT; 893s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 893s # g_assert (info != NULL); 893s # num_params = g_variant_n_children (parameters); 893s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 893s # n = 0; 893s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_value_set_object (¶mv[n++], skeleton); 893s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 893s # g_value_set_object (¶mv[n++], invocation); 893s # if (info->pass_fdlist) 893s # { 893s # #ifdef G_OS_UNIX 893s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 893s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 893s # #else 893s # g_assert_not_reached (); 893s # #endif 893s # } 893s # g_variant_iter_init (&iter, parameters); 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 893s # g_value_init (&return_value, G_TYPE_BOOLEAN); 893s # g_signal_emitv (paramv, signal_id, 0, &return_value); 893s # if (!g_value_get_boolean (&return_value)) 893s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 893s # g_value_unset (&return_value); 893s # for (n = 0; n < num_params + num_extra; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static GVariant * 893s # _org_project_signaling_iface_skeleton_handle_get_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # GVariant *ret; 893s # ret = NULL; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # g_value_init (&value, pspec->value_type); 893s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_value_unset (&value); 893s # } 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _org_project_signaling_iface_skeleton_handle_set_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GVariant *variant, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # gboolean ret; 893s # ret = FALSE; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # if (info->use_gvariant) 893s # g_value_set_variant (&value, variant); 893s # else 893s # g_dbus_gvariant_to_gvalue (variant, &value); 893s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # g_value_unset (&value); 893s # ret = TRUE; 893s # } 893s # return ret; 893s # } 893s # 893s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 893s # { 893s # _org_project_signaling_iface_skeleton_handle_method_call, 893s # _org_project_signaling_iface_skeleton_handle_get_property, 893s # _org_project_signaling_iface_skeleton_handle_set_property, 893s # {NULL} 893s # }; 893s # 893s # static GDBusInterfaceInfo * 893s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return org_project_signaling_iface_interface_info (); 893s # } 893s # 893s # static GDBusInterfaceVTable * 893s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 893s # } 893s # 893s # static GVariant * 893s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 893s # 893s # GVariantBuilder builder; 893s # guint n; 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 893s # goto out; 893s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 893s # { 893s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 893s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 893s # { 893s # GVariant *value; 893s # 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); 893s # if (value != NULL) 893s # { 893s # g_variant_take_ref (value); 893s # g_variant_builder_add (&builder, "{sv}", info->name, value); 893s # g_variant_unref (value); 893s # } 893s # } 893s # } 893s # out: 893s # return g_variant_builder_end (&builder); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # _org_project_signaling_iface_on_signal_simple_signal ( 893s # OrgProjectSignalingIface *object) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 893s # 893s # GList *connections, *l; 893s # GVariant *signal_variant; 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # 893s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 893s # for (l = connections; l != NULL; l = l->next) 893s # { 893s # GDBusConnection *connection = l->data; 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 893s # signal_variant, NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # 893s # static void 893s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 893s # OrgProjectSignalingIface *object, 893s # gboolean arg_an_b, 893s # guchar arg_an_y, 893s # gint16 arg_an_n, 893s # guint16 arg_an_q, 893s # gint arg_an_i, 893s # guint arg_an_u, 893s # gint64 arg_an_x, 893s # guint64 arg_an_t, 893s # gdouble arg_an_d, 893s # const gchar *arg_an_s, 893s # const gchar *arg_an_o, 893s # const gchar *arg_an_g, 893s # GVariant *arg_an_h, 893s # const gchar *arg_an_ay, 893s # const gchar *const *arg_an_as, 893s # const gchar *const *arg_an_ao, 893s # const gchar *const *arg_an_aay, 893s # GVariant *arg_an_asv) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 893s # 893s # GList *connections, *l; 893s # GVariant *signal_variant; 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # 893s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 893s # arg_an_b, 893s # arg_an_y, 893s # arg_an_n, 893s # arg_an_q, 893s # arg_an_i, 893s # arg_an_u, 893s # arg_an_x, 893s # arg_an_t, 893s # arg_an_d, 893s # arg_an_s, 893s # arg_an_o, 893s # arg_an_g, 893s # arg_an_h, 893s # arg_an_ay, 893s # arg_an_as, 893s # arg_an_ao, 893s # arg_an_aay, 893s # arg_an_asv)); 893s # for (l = connections; l != NULL; l = l->next) 893s # { 893s # GDBusConnection *connection = l->data; 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 893s # signal_variant, NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # 893s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_signaling_iface_skeleton_finalize (GObject *object) 893s # { 893s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # g_main_context_unref (skeleton->priv->context); 893s # g_mutex_clear (&skeleton->priv->lock); 893s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 893s # #else 893s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 893s # #endif 893s # 893s # g_mutex_init (&skeleton->priv->lock); 893s # skeleton->priv->context = g_main_context_ref_thread_default (); 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusInterfaceSkeletonClass *skeleton_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 893s # 893s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 893s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 893s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 893s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 893s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 893s # { 893s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 893s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 893s # } 893s # 893s # /** 893s # * org_project_signaling_iface_skeleton_new: 893s # * 893s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 893s # * 893s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 893s # */ 893s # OrgProjectSignalingIface * 893s # org_project_signaling_iface_skeleton_new (void) 893s # { 893s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 893s # } 893s ok 25 __main__.TestCodegen.test_generate_valid_docbook 893s # tmpdir: /tmp/tmpcl7ytuy4 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpcl7ytuy4/tmpziht9l7v.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcl7ytuy4/tmpziht9l7v.xml', '--generate-docbook', 'test'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: 893s # Executing: glib/codegen.py.test 893s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 893s # tmpdir: /tmp/tmpu8a5rons 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpu8a5rons/tmp9mqmofl0.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu8a5rons/tmp9mqmofl0.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 893s # tmpdir: /tmp/tmp6riobwif 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmp6riobwif/tmpodd_ojbf.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6riobwif/tmpodd_ojbf.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 893s # tmpdir: /tmp/tmpenkdm7dv 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpenkdm7dv/tmpmfqc76r4.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpenkdm7dv/tmpmfqc76r4.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 893s # tmpdir: /tmp/tmp70hk9oq4 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmp70hk9oq4/tmpf50ov3va.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp70hk9oq4/tmpf50ov3va.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 893s # tmpdir: /tmp/tmpekbcek80 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpekbcek80/tmpd8v_vei9.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpekbcek80/tmpd8v_vei9.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 893s # tmpdir: /tmp/tmpyzt0dw51 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpyzt0dw51/tmpqx2tttb5.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyzt0dw51/tmpqx2tttb5.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 893s # tmpdir: /tmp/tmpzwb56boa 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpzwb56boa/tmp8of3jmrb.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzwb56boa/tmp8of3jmrb.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 893s # tmpdir: /tmp/tmpl8xdua7h 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpl8xdua7h/tmpuihh88wd.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl8xdua7h/tmpuihh88wd.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 893s # tmpdir: /tmp/tmpnt2rsd7g 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpnt2rsd7g/tmp5to2tziq.xml: 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnt2rsd7g/tmp5to2tziq.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s ok 35 __main__.TestCodegen.test_help 893s # tmpdir: /tmp/tmpbh9ecota 893s # codegen: /usr/bin/gdbus-codegen 893s # Running: ['/usr/bin/gdbus-codegen', '--help'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 893s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 893s # [--c-generate-autocleanup {none,objects,all}] 893s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 893s # [--generate-rst OUTFILES] [--pragma-once] 893s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 893s # [--glib-min-required VERSION] 893s # [--glib-max-allowed VERSION] 893s # [--symbol-decorator SYMBOL_DECORATOR] 893s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 893s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 893s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 893s # [--output FILE | --output-directory OUTDIR] 893s # FILE [FILE ...] 893s # 893s # D-Bus code and documentation generator 893s # 893s # positional arguments: 893s # FILE D-Bus introspection XML file 893s # 893s # options: 893s # -h, --help show this help message and exit 893s # --interface-prefix PREFIX 893s # String to strip from D-Bus interface names for code 893s # and docs 893s # --c-namespace NAMESPACE 893s # The namespace to use for generated C code 893s # --c-generate-object-manager 893s # Generate a GDBusObjectManagerClient subclass when 893s # generating C code 893s # --c-generate-autocleanup {none,objects,all} 893s # Generate autocleanup support 893s # --generate-docbook OUTFILES 893s # Generate Docbook in OUTFILES-org.Project.IFace.xml 893s # --generate-md OUTFILES 893s # Generate Markdown in OUTFILES-org.Project.IFace.md 893s # --generate-rst OUTFILES 893s # Generate reStructuredText in OUTFILES- 893s # org.Project.IFace.rst 893s # --pragma-once Use "pragma once" as the inclusion guard 893s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 893s # Add annotation (may be used several times) 893s # --glib-min-required VERSION 893s # Minimum version of GLib to be supported by the 893s # outputted code (default: 2.30) 893s # --glib-max-allowed VERSION 893s # Maximum version of GLib to be used by the outputted 893s # code (default: current GLib version) 893s # --symbol-decorator SYMBOL_DECORATOR 893s # Macro used to decorate a symbol in the outputted 893s # header, possibly to export symbols 893s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 893s # Additional header required for decorator specified by 893s # --symbol-decorator 893s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 893s # Additional define required for decorator specified by 893s # --symbol-decorator 893s # --generate-c-code OUTFILES 893s # Generate C code in OUTFILES.[ch] 893s # --header Generate C headers 893s # --body Generate C code 893s # --interface-info-header 893s # Generate GDBusInterfaceInfo C header 893s # --interface-info-body 893s # Generate GDBusInterfaceInfo C code 893s # --output FILE Write output into the specified file 893s # --output-directory OUTDIR 893s # Location to output generated files 893s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 893s # tmpdir: /tmp/tmpbn5ma9mf 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpbn5ma9mf/tmpjbneixjh.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbn5ma9mf/tmpjbneixjh.xml', '--generate-rst', 'test'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: 893s # /tmp/tmpbn5ma9mf/tmp4esogsjn.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbn5ma9mf/tmp4esogsjn.xml', '--generate-md', 'test'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: 893s # /tmp/tmpbn5ma9mf/tmp29ma9xyn.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbn5ma9mf/tmp29ma9xyn.xml', '--generate-docbook', 'test'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: 893s ok 37 __main__.TestCodegen.test_no_args 893s # tmpdir: /tmp/tmpjkyn67gr 893s # codegen: /usr/bin/gdbus-codegen 893s # Running: ['/usr/bin/gdbus-codegen'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s ok 38 __main__.TestCodegen.test_reproducible 893s # tmpdir: /tmp/tmp72etdfy8 893s # codegen: /usr/bin/gdbus-codegen 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp72etdfy8/tmpk8dy4o9i1.xml', '/tmp/tmp72etdfy8/tmpxasmjqxw2.xml', '--output', '-', '--header'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # /* Declarations for com.acme.Coyote */ 893s # 893s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 893s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 893s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 893s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 893s # 893s # struct _ComAcmeCoyote; 893s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 893s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 893s # 893s # struct _ComAcmeCoyoteIface 893s # { 893s # GTypeInterface parent_iface; 893s # 893s # 893s # 893s # gboolean (*handle_attack) ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # gboolean (*handle_run) ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # gboolean (*handle_sleep) ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # const gchar * (*get_mood) (ComAcmeCoyote *object); 893s # 893s # void (*surprised) ( 893s # ComAcmeCoyote *object); 893s # 893s # }; 893s # 893s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 893s # 893s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 893s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 893s # 893s # 893s # /* D-Bus method call completion functions: */ 893s # void com_acme_coyote_complete_run ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # void com_acme_coyote_complete_sleep ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # void com_acme_coyote_complete_attack ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # 893s # 893s # /* D-Bus signal emissions functions: */ 893s # void com_acme_coyote_emit_surprised ( 893s # ComAcmeCoyote *object); 893s # 893s # 893s # 893s # /* D-Bus method calls: */ 893s # void com_acme_coyote_call_run ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean com_acme_coyote_call_run_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean com_acme_coyote_call_run_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void com_acme_coyote_call_sleep ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean com_acme_coyote_call_sleep_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean com_acme_coyote_call_sleep_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void com_acme_coyote_call_attack ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean com_acme_coyote_call_attack_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean com_acme_coyote_call_attack_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # 893s # /* D-Bus property accessors: */ 893s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 893s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 893s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 893s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 893s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 893s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 893s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 893s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 893s # 893s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 893s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 893s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 893s # 893s # struct _ComAcmeCoyoteProxy 893s # { 893s # /*< private >*/ 893s # GDBusProxy parent_instance; 893s # ComAcmeCoyoteProxyPrivate *priv; 893s # }; 893s # 893s # struct _ComAcmeCoyoteProxyClass 893s # { 893s # GDBusProxyClass parent_class; 893s # }; 893s # 893s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 893s # #endif 893s # 893s # void com_acme_coyote_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void com_acme_coyote_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 893s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 893s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 893s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 893s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 893s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 893s # 893s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 893s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 893s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 893s # 893s # struct _ComAcmeCoyoteSkeleton 893s # { 893s # /*< private >*/ 893s # GDBusInterfaceSkeleton parent_instance; 893s # ComAcmeCoyoteSkeletonPrivate *priv; 893s # }; 893s # 893s # struct _ComAcmeCoyoteSkeletonClass 893s # { 893s # GDBusInterfaceSkeletonClass parent_class; 893s # }; 893s # 893s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 893s # #endif 893s # 893s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # /* Declarations for org.project.Bar.Frobnicator */ 893s # 893s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 893s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 893s # 893s # struct _OrgProjectBarFrobnicator; 893s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 893s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 893s # 893s # struct _OrgProjectBarFrobnicatorIface 893s # { 893s # GTypeInterface parent_iface; 893s # 893s # gboolean (*handle_random_method) ( 893s # OrgProjectBarFrobnicator *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # }; 893s # 893s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 893s # 893s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 893s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 893s # 893s # 893s # /* D-Bus method call completion functions: */ 893s # void org_project_bar_frobnicator_complete_random_method ( 893s # OrgProjectBarFrobnicator *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # 893s # 893s # /* D-Bus method calls: */ 893s # void org_project_bar_frobnicator_call_random_method ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 893s # 893s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 893s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 893s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 893s # 893s # struct _OrgProjectBarFrobnicatorProxy 893s # { 893s # /*< private >*/ 893s # GDBusProxy parent_instance; 893s # OrgProjectBarFrobnicatorProxyPrivate *priv; 893s # }; 893s # 893s # struct _OrgProjectBarFrobnicatorProxyClass 893s # { 893s # GDBusProxyClass parent_class; 893s # }; 893s # 893s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 893s # #endif 893s # 893s # void org_project_bar_frobnicator_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void org_project_bar_frobnicator_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 893s # 893s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 893s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 893s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 893s # 893s # struct _OrgProjectBarFrobnicatorSkeleton 893s # { 893s # /*< private >*/ 893s # GDBusInterfaceSkeleton parent_instance; 893s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 893s # }; 893s # 893s # struct _OrgProjectBarFrobnicatorSkeletonClass 893s # { 893s # GDBusInterfaceSkeletonClass parent_class; 893s # }; 893s # 893s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 893s # #endif 893s # 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp72etdfy8/tmpxasmjqxw2.xml', '/tmp/tmp72etdfy8/tmpk8dy4o9i1.xml', '--output', '-', '--header'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # /* Declarations for com.acme.Coyote */ 893s # 893s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 893s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 893s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 893s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 893s # 893s # struct _ComAcmeCoyote; 893s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 893s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 893s # 893s # struct _ComAcmeCoyoteIface 893s # { 893s # GTypeInterface parent_iface; 893s # 893s # 893s # 893s # gboolean (*handle_attack) ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # gboolean (*handle_run) ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # gboolean (*handle_sleep) ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # const gchar * (*get_mood) (ComAcmeCoyote *object); 893s # 893s # void (*surprised) ( 893s # ComAcmeCoyote *object); 893s # 893s # }; 893s # 893s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 893s # 893s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 893s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 893s # 893s # 893s # /* D-Bus method call completion functions: */ 893s # void com_acme_coyote_complete_run ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # void com_acme_coyote_complete_sleep ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # void com_acme_coyote_complete_attack ( 893s # ComAcmeCoyote *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # 893s # 893s # /* D-Bus signal emissions functions: */ 893s # void com_acme_coyote_emit_surprised ( 893s # ComAcmeCoyote *object); 893s # 893s # 893s # 893s # /* D-Bus method calls: */ 893s # void com_acme_coyote_call_run ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean com_acme_coyote_call_run_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean com_acme_coyote_call_run_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void com_acme_coyote_call_sleep ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean com_acme_coyote_call_sleep_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean com_acme_coyote_call_sleep_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void com_acme_coyote_call_attack ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean com_acme_coyote_call_attack_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean com_acme_coyote_call_attack_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # 893s # /* D-Bus property accessors: */ 893s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 893s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 893s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 893s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 893s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 893s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 893s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 893s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 893s # 893s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 893s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 893s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 893s # 893s # struct _ComAcmeCoyoteProxy 893s # { 893s # /*< private >*/ 893s # GDBusProxy parent_instance; 893s # ComAcmeCoyoteProxyPrivate *priv; 893s # }; 893s # 893s # struct _ComAcmeCoyoteProxyClass 893s # { 893s # GDBusProxyClass parent_class; 893s # }; 893s # 893s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 893s # #endif 893s # 893s # void com_acme_coyote_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void com_acme_coyote_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 893s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 893s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 893s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 893s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 893s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 893s # 893s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 893s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 893s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 893s # 893s # struct _ComAcmeCoyoteSkeleton 893s # { 893s # /*< private >*/ 893s # GDBusInterfaceSkeleton parent_instance; 893s # ComAcmeCoyoteSkeletonPrivate *priv; 893s # }; 893s # 893s # struct _ComAcmeCoyoteSkeletonClass 893s # { 893s # GDBusInterfaceSkeletonClass parent_class; 893s # }; 893s # 893s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 893s # #endif 893s # 893s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # /* Declarations for org.project.Bar.Frobnicator */ 893s # 893s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 893s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 893s # 893s # struct _OrgProjectBarFrobnicator; 893s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 893s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 893s # 893s # struct _OrgProjectBarFrobnicatorIface 893s # { 893s # GTypeInterface parent_iface; 893s # 893s # gboolean (*handle_random_method) ( 893s # OrgProjectBarFrobnicator *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # }; 893s # 893s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 893s # 893s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 893s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 893s # 893s # 893s # /* D-Bus method call completion functions: */ 893s # void org_project_bar_frobnicator_complete_random_method ( 893s # OrgProjectBarFrobnicator *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # 893s # 893s # /* D-Bus method calls: */ 893s # void org_project_bar_frobnicator_call_random_method ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 893s # 893s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 893s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 893s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 893s # 893s # struct _OrgProjectBarFrobnicatorProxy 893s # { 893s # /*< private >*/ 893s # GDBusProxy parent_instance; 893s # OrgProjectBarFrobnicatorProxyPrivate *priv; 893s # }; 893s # 893s # struct _OrgProjectBarFrobnicatorProxyClass 893s # { 893s # GDBusProxyClass parent_class; 893s # }; 893s # 893s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 893s # #endif 893s # 893s # void org_project_bar_frobnicator_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void org_project_bar_frobnicator_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 893s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 893s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 893s # 893s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 893s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 893s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 893s # 893s # struct _OrgProjectBarFrobnicatorSkeleton 893s # { 893s # /*< private >*/ 893s # GDBusInterfaceSkeleton parent_instance; 893s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 893s # }; 893s # 893s # struct _OrgProjectBarFrobnicatorSkeletonClass 893s # { 893s # GDBusInterfaceSkeletonClass parent_class; 893s # }; 893s # 893s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 893s # #endif 893s # 893s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp72etdfy8/tmpk8dy4o9i1.xml', '/tmp/tmp72etdfy8/tmpxasmjqxw2.xml', '--output', '-', '--body'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifdef HAVE_CONFIG_H 893s # # include "config.h" 893s # #endif 893s # 893s # #include 893s # #ifdef G_OS_UNIX 893s # # include 893s # #endif 893s # 893s # #ifdef G_ENABLE_DEBUG 893s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 893s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 893s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 893s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 893s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 893s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 893s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 893s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 893s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 893s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 893s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 893s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 893s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 893s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 893s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 893s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 893s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 893s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 893s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 893s # #else /* !G_ENABLE_DEBUG */ 893s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 893s # * Do not access GValues directly in your code. Instead, use the 893s # * g_value_get_*() functions 893s # */ 893s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 893s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 893s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 893s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 893s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 893s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 893s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 893s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 893s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 893s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 893s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 893s # #endif /* !G_ENABLE_DEBUG */ 893s # 893s # typedef struct 893s # { 893s # GDBusArgInfo parent_struct; 893s # gboolean use_gvariant; 893s # } _ExtendedGDBusArgInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusMethodInfo parent_struct; 893s # const gchar *signal_name; 893s # gboolean pass_fdlist; 893s # } _ExtendedGDBusMethodInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusSignalInfo parent_struct; 893s # const gchar *signal_name; 893s # } _ExtendedGDBusSignalInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusPropertyInfo parent_struct; 893s # const gchar *hyphen_name; 893s # guint use_gvariant : 1; 893s # guint emits_changed_signal : 1; 893s # } _ExtendedGDBusPropertyInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusInterfaceInfo parent_struct; 893s # const gchar *hyphen_name; 893s # } _ExtendedGDBusInterfaceInfo; 893s # 893s # typedef struct 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # guint prop_id; 893s # GValue orig_value; /* the value before the change */ 893s # } ChangedProperty; 893s # 893s # static void 893s # _changed_property_free (ChangedProperty *data) 893s # { 893s # g_value_unset (&data->orig_value); 893s # g_free (data); 893s # } 893s # 893s # static gboolean 893s # _g_strv_equal0 (gchar **a, gchar **b) 893s # { 893s # gboolean ret = FALSE; 893s # guint n; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # if (g_strv_length (a) != g_strv_length (b)) 893s # goto out; 893s # for (n = 0; a[n] != NULL; n++) 893s # if (g_strcmp0 (a[n], b[n]) != 0) 893s # goto out; 893s # ret = TRUE; 893s # out: 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _g_variant_equal0 (GVariant *a, GVariant *b) 893s # { 893s # gboolean ret = FALSE; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # ret = g_variant_equal (a, b); 893s # out: 893s # return ret; 893s # } 893s # 893s # G_GNUC_UNUSED static gboolean 893s # _g_value_equal (const GValue *a, const GValue *b) 893s # { 893s # gboolean ret = FALSE; 893s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 893s # switch (G_VALUE_TYPE (a)) 893s # { 893s # case G_TYPE_BOOLEAN: 893s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 893s # break; 893s # case G_TYPE_UCHAR: 893s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 893s # break; 893s # case G_TYPE_INT: 893s # ret = (g_value_get_int (a) == g_value_get_int (b)); 893s # break; 893s # case G_TYPE_UINT: 893s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 893s # break; 893s # case G_TYPE_INT64: 893s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 893s # break; 893s # case G_TYPE_UINT64: 893s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 893s # break; 893s # case G_TYPE_DOUBLE: 893s # { 893s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 893s # gdouble da = g_value_get_double (a); 893s # gdouble db = g_value_get_double (b); 893s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 893s # } 893s # break; 893s # case G_TYPE_STRING: 893s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 893s # break; 893s # case G_TYPE_VARIANT: 893s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 893s # break; 893s # default: 893s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 893s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 893s # else 893s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 893s # break; 893s # } 893s # return ret; 893s # } 893s # 893s # static void 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint G_GNUC_UNUSED, 893s # void *marshal_data) 893s # { 893s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 893s # (void *data1, 893s # GDBusMethodInvocation *arg_method_invocation, 893s # void *data2); 893s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 893s # GCClosure *cc = (GCClosure*) closure; 893s # void *data1, *data2; 893s # gboolean v_return; 893s # 893s # g_return_if_fail (return_value != NULL); 893s # g_return_if_fail (n_param_values == 2); 893s # 893s # if (G_CCLOSURE_SWAP_DATA (closure)) 893s # { 893s # data1 = closure->data; 893s # data2 = g_value_peek_pointer (param_values + 0); 893s # } 893s # else 893s # { 893s # data1 = g_value_peek_pointer (param_values + 0); 893s # data2 = closure->data; 893s # } 893s # 893s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 893s # (marshal_data ? marshal_data : cc->callback); 893s # 893s # v_return = 893s # callback (data1, 893s # g_marshal_value_peek_object (param_values + 1), 893s # data2); 893s # 893s # g_value_set_boolean (return_value, v_return); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ 893s # * Code for interface com.acme.Coyote 893s # * ------------------------------------------------------------------------ 893s # */ 893s # 893s # /** 893s # * SECTION:ComAcmeCoyote 893s # * @title: ComAcmeCoyote 893s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 893s # * 893s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 893s # */ 893s # 893s # enum 893s # { 893s # _COM_ACME_COYOTE_SURPRISED, 893s # }; 893s # 893s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 893s # 893s # /* ---- Introspection data for com.acme.Coyote ---- */ 893s # 893s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Run", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-run", 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Sleep", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-sleep", 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Attack", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-attack", 893s # FALSE 893s # }; 893s # 893s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 893s # { 893s # &_com_acme_coyote_method_info_run.parent_struct, 893s # &_com_acme_coyote_method_info_sleep.parent_struct, 893s # &_com_acme_coyote_method_info_attack.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Surprised", 893s # NULL, 893s # NULL 893s # }, 893s # "surprised" 893s # }; 893s # 893s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 893s # { 893s # &_com_acme_coyote_signal_info_surprised.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Mood", 893s # (gchar *) "s", 893s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 893s # NULL 893s # }, 893s # "mood", 893s # FALSE, 893s # TRUE 893s # }; 893s # 893s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 893s # { 893s # &_com_acme_coyote_property_info_mood.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 893s # { 893s # { 893s # -1, 893s # (gchar *) "com.acme.Coyote", 893s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 893s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 893s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 893s # NULL 893s # }, 893s # "com-acme-coyote", 893s # }; 893s # 893s # 893s # /** 893s # * com_acme_coyote_interface_info: 893s # * 893s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 893s # * 893s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 893s # */ 893s # GDBusInterfaceInfo * 893s # com_acme_coyote_interface_info (void) 893s # { 893s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_override_properties: 893s # * @klass: The class structure for a #GObject derived class. 893s # * @property_id_begin: The property id to assign to the first overridden property. 893s # * 893s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 893s # * The properties are overridden in the order they are defined. 893s # * 893s # * Returns: The last property id. 893s # */ 893s # guint 893s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 893s # { 893s # g_object_class_override_property (klass, property_id_begin++, "mood"); 893s # return property_id_begin - 1; 893s # } 893s # 893s # 893s # inline static void 893s # com_acme_coyote_signal_marshal_surprised ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # g_cclosure_marshal_VOID__VOID (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # com_acme_coyote_method_marshal_run ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # com_acme_coyote_method_marshal_sleep ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # com_acme_coyote_method_marshal_attack ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # 893s # /** 893s # * ComAcmeCoyote: 893s # * 893s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 893s # */ 893s # 893s # /** 893s # * ComAcmeCoyoteIface: 893s # * @parent_iface: The parent interface. 893s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 893s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 893s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 893s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 893s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 893s # * 893s # * Virtual table for the D-Bus interface com.acme.Coyote. 893s # */ 893s # 893s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 893s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 893s # 893s # static void 893s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 893s # { 893s # /* GObject signals for incoming D-Bus method calls: */ 893s # /** 893s # * ComAcmeCoyote::handle-run: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-run", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # com_acme_coyote_method_marshal_run, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # /** 893s # * ComAcmeCoyote::handle-sleep: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-sleep", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # com_acme_coyote_method_marshal_sleep, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # /** 893s # * ComAcmeCoyote::handle-attack: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-attack", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # com_acme_coyote_method_marshal_attack, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # /* GObject signals for received D-Bus signals: */ 893s # /** 893s # * ComAcmeCoyote::surprised: 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 893s # * 893s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 893s # */ 893s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 893s # g_signal_new ("surprised", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 893s # NULL, 893s # NULL, 893s # com_acme_coyote_signal_marshal_surprised, 893s # G_TYPE_NONE, 893s # 0); 893s # 893s # /* GObject properties for D-Bus properties: */ 893s # /** 893s # * ComAcmeCoyote:mood: 893s # * 893s # * Represents the D-Bus property "Mood". 893s # * 893s # * 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. 893s # */ 893s # g_object_interface_install_property (iface, 893s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_get_mood: (skip) 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * Gets the value of the "Mood" D-Bus property. 893s # * 893s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # const gchar * 893s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 893s # { 893s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 893s # 893s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_dup_mood: (skip) 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * Gets a copy of the "Mood" D-Bus property. 893s # * 893s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 893s # * 893s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 893s # */ 893s # gchar * 893s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 893s # { 893s # gchar *value; 893s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 893s # return value; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_set_mood: (skip) 893s # * @object: A #ComAcmeCoyote. 893s # * @value: The value to set. 893s # * 893s # * Sets the "Mood" D-Bus property to @value. 893s # * 893s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 893s # */ 893s # void 893s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 893s # { 893s # g_object_set (G_OBJECT (object), "mood", value, NULL); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_emit_surprised: 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * Emits the "Surprised" D-Bus signal. 893s # */ 893s # void 893s # com_acme_coyote_emit_surprised ( 893s # ComAcmeCoyote *object) 893s # { 893s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_run: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the Run() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # com_acme_coyote_call_run ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "Run", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_run_finish: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with com_acme_coyote_call_run(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_run_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_run_sync: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_run_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "Run", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_sleep: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # com_acme_coyote_call_sleep ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "Sleep", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_sleep_finish: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with com_acme_coyote_call_sleep(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_sleep_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_sleep_sync: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_sleep_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "Sleep", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_attack: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # com_acme_coyote_call_attack ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "Attack", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_attack_finish: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with com_acme_coyote_call_attack(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_attack_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_attack_sync: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_attack_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "Attack", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_complete_run: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # com_acme_coyote_complete_run ( 893s # ComAcmeCoyote *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_complete_sleep: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # com_acme_coyote_complete_sleep ( 893s # ComAcmeCoyote *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_complete_attack: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # com_acme_coyote_complete_attack ( 893s # ComAcmeCoyote *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * ComAcmeCoyoteProxy: 893s # * 893s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * ComAcmeCoyoteProxyClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #ComAcmeCoyoteProxy. 893s # */ 893s # 893s # struct _ComAcmeCoyoteProxyPrivate 893s # { 893s # GData *qdata; 893s # }; 893s # 893s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 893s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 893s # 893s # #endif 893s # static void 893s # com_acme_coyote_proxy_finalize (GObject *object) 893s # { 893s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 893s # g_datalist_clear (&proxy->priv->qdata); 893s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_get_property (GObject *object, 893s # guint prop_id, 893s # GValue *value, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # GVariant *variant; 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 893s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 893s # if (info->use_gvariant) 893s # { 893s # g_value_set_variant (value, variant); 893s # } 893s # else 893s # { 893s # if (variant != NULL) 893s # g_dbus_gvariant_to_gvalue (variant, value); 893s # } 893s # if (variant != NULL) 893s # g_variant_unref (variant); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 893s # GAsyncResult *res, 893s # gpointer user_data) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info = user_data; 893s # GError *error; 893s # GVariant *_ret; 893s # error = NULL; 893s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 893s # if (!_ret) 893s # { 893s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 893s # info->parent_struct.name, 893s # error->message, g_quark_to_string (error->domain), error->code); 893s # g_error_free (error); 893s # } 893s # else 893s # { 893s # g_variant_unref (_ret); 893s # } 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_set_property (GObject *object, 893s # guint prop_id, 893s # const GValue *value, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # GVariant *variant; 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 893s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_dbus_proxy_call (G_DBUS_PROXY (object), 893s # "org.freedesktop.DBus.Properties.Set", 893s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 893s # g_variant_unref (variant); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 893s # const gchar *sender_name G_GNUC_UNUSED, 893s # const gchar *signal_name, 893s # GVariant *parameters) 893s # { 893s # _ExtendedGDBusSignalInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # gsize n; 893s # guint signal_id; 893s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 893s # if (info == NULL) 893s # return; 893s # num_params = g_variant_n_children (parameters); 893s # paramv = g_new0 (GValue, num_params + 1); 893s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 893s # g_value_set_object (¶mv[0], proxy); 893s # g_variant_iter_init (&iter, parameters); 893s # n = 1; 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 893s # g_signal_emitv (paramv, signal_id, 0, NULL); 893s # for (n = 0; n < num_params + 1; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 893s # GVariant *changed_properties, 893s # const gchar *const *invalidated_properties) 893s # { 893s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 893s # guint n; 893s # const gchar *key; 893s # GVariantIter *iter; 893s # _ExtendedGDBusPropertyInfo *info; 893s # g_variant_get (changed_properties, "a{sv}", &iter); 893s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 893s # g_datalist_remove_data (&proxy->priv->qdata, key); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # g_variant_iter_free (iter); 893s # for (n = 0; invalidated_properties[n] != NULL; n++) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 893s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # } 893s # 893s # static const gchar * 893s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 893s # { 893s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 893s # GVariant *variant; 893s # const gchar *value = NULL; 893s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 893s # if (variant != NULL) 893s # { 893s # value = g_variant_get_string (variant, NULL); 893s # g_variant_unref (variant); 893s # } 893s # return value; 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 893s # #else 893s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 893s # #endif 893s # 893s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusProxyClass *proxy_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 893s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 893s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 893s # 893s # proxy_class = G_DBUS_PROXY_CLASS (klass); 893s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 893s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 893s # 893s # com_acme_coyote_override_properties (gobject_class, 1); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 893s # { 893s # iface->get_mood = com_acme_coyote_proxy_get_mood; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # com_acme_coyote_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with com_acme_coyote_proxy_new(). 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_sync: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_for_bus: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # com_acme_coyote_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_for_bus_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_for_bus_sync: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * ComAcmeCoyoteSkeleton: 893s # * 893s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * ComAcmeCoyoteSkeletonClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #ComAcmeCoyoteSkeleton. 893s # */ 893s # 893s # struct _ComAcmeCoyoteSkeletonPrivate 893s # { 893s # GValue *properties; 893s # GList *changed_properties; 893s # GSource *changed_properties_idle_source; 893s # GMainContext *context; 893s # GMutex lock; 893s # }; 893s # 893s # static void 893s # _com_acme_coyote_skeleton_handle_method_call ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name, 893s # const gchar *method_name, 893s # GVariant *parameters, 893s # GDBusMethodInvocation *invocation, 893s # gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # _ExtendedGDBusMethodInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # guint num_extra; 893s # gsize n; 893s # guint signal_id; 893s # GValue return_value = G_VALUE_INIT; 893s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 893s # g_assert (info != NULL); 893s # num_params = g_variant_n_children (parameters); 893s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 893s # n = 0; 893s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 893s # g_value_set_object (¶mv[n++], skeleton); 893s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 893s # g_value_set_object (¶mv[n++], invocation); 893s # if (info->pass_fdlist) 893s # { 893s # #ifdef G_OS_UNIX 893s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 893s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 893s # #else 893s # g_assert_not_reached (); 893s # #endif 893s # } 893s # g_variant_iter_init (&iter, parameters); 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 893s # g_value_init (&return_value, G_TYPE_BOOLEAN); 893s # g_signal_emitv (paramv, signal_id, 0, &return_value); 893s # if (!g_value_get_boolean (&return_value)) 893s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 893s # g_value_unset (&return_value); 893s # for (n = 0; n < num_params + num_extra; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static GVariant * 893s # _com_acme_coyote_skeleton_handle_get_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # GVariant *ret; 893s # ret = NULL; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # g_value_init (&value, pspec->value_type); 893s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_value_unset (&value); 893s # } 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _com_acme_coyote_skeleton_handle_set_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GVariant *variant, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # gboolean ret; 893s # ret = FALSE; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # if (info->use_gvariant) 893s # g_value_set_variant (&value, variant); 893s # else 893s # g_dbus_gvariant_to_gvalue (variant, &value); 893s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # g_value_unset (&value); 893s # ret = TRUE; 893s # } 893s # return ret; 893s # } 893s # 893s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 893s # { 893s # _com_acme_coyote_skeleton_handle_method_call, 893s # _com_acme_coyote_skeleton_handle_get_property, 893s # _com_acme_coyote_skeleton_handle_set_property, 893s # {NULL} 893s # }; 893s # 893s # static GDBusInterfaceInfo * 893s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return com_acme_coyote_interface_info (); 893s # } 893s # 893s # static GDBusInterfaceVTable * 893s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 893s # } 893s # 893s # static GVariant * 893s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 893s # 893s # GVariantBuilder builder; 893s # guint n; 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 893s # goto out; 893s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 893s # { 893s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 893s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 893s # { 893s # GVariant *value; 893s # 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); 893s # if (value != NULL) 893s # { 893s # g_variant_take_ref (value); 893s # g_variant_builder_add (&builder, "{sv}", info->name, value); 893s # g_variant_unref (value); 893s # } 893s # } 893s # } 893s # out: 893s # return g_variant_builder_end (&builder); 893s # } 893s # 893s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 893s # 893s # static void 893s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 893s # gboolean emit_changed = FALSE; 893s # 893s # g_mutex_lock (&skeleton->priv->lock); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # { 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # skeleton->priv->changed_properties_idle_source = NULL; 893s # emit_changed = TRUE; 893s # } 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # 893s # if (emit_changed) 893s # _com_acme_coyote_emit_changed (skeleton); 893s # } 893s # 893s # static void 893s # _com_acme_coyote_on_signal_surprised ( 893s # ComAcmeCoyote *object) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # 893s # GList *connections, *l; 893s # GVariant *signal_variant; 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # 893s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 893s # for (l = connections; l != NULL; l = l->next) 893s # { 893s # GDBusConnection *connection = l->data; 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 893s # signal_variant, NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # 893s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 893s # 893s # #endif 893s # static void 893s # com_acme_coyote_skeleton_finalize (GObject *object) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # guint n; 893s # for (n = 0; n < 1; n++) 893s # g_value_unset (&skeleton->priv->properties[n]); 893s # g_free (skeleton->priv->properties); 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # g_main_context_unref (skeleton->priv->context); 893s # g_mutex_clear (&skeleton->priv->lock); 893s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_get_property (GObject *object, 893s # guint prop_id, 893s # GValue *value, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # g_mutex_lock (&skeleton->priv->lock); 893s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # } 893s # 893s # static gboolean 893s # _com_acme_coyote_emit_changed (gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # GList *l; 893s # GVariantBuilder builder; 893s # GVariantBuilder invalidated_builder; 893s # guint num_changes; 893s # 893s # g_mutex_lock (&skeleton->priv->lock); 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 893s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 893s # { 893s # ChangedProperty *cp = l->data; 893s # GVariant *variant; 893s # const GValue *cur_value; 893s # 893s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 893s # if (!_g_value_equal (cur_value, &cp->orig_value)) 893s # { 893s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 893s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 893s # g_variant_unref (variant); 893s # num_changes++; 893s # } 893s # } 893s # if (num_changes > 0) 893s # { 893s # GList *connections, *ll; 893s # GVariant *signal_variant; 893s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 893s # &builder, &invalidated_builder)); 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # for (ll = connections; ll != NULL; ll = ll->next) 893s # { 893s # GDBusConnection *connection = ll->data; 893s # 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 893s # "org.freedesktop.DBus.Properties", 893s # "PropertiesChanged", 893s # signal_variant, 893s # NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # else 893s # { 893s # g_variant_builder_clear (&builder); 893s # g_variant_builder_clear (&invalidated_builder); 893s # } 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # skeleton->priv->changed_properties = NULL; 893s # skeleton->priv->changed_properties_idle_source = NULL; 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # return FALSE; 893s # } 893s # 893s # static void 893s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 893s # { 893s # ChangedProperty *cp; 893s # GList *l; 893s # cp = NULL; 893s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 893s # { 893s # ChangedProperty *i_cp = l->data; 893s # if (i_cp->info == info) 893s # { 893s # cp = i_cp; 893s # break; 893s # } 893s # } 893s # if (cp == NULL) 893s # { 893s # cp = g_new0 (ChangedProperty, 1); 893s # cp->prop_id = prop_id; 893s # cp->info = info; 893s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 893s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 893s # g_value_copy (orig_value, &cp->orig_value); 893s # } 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_notify (GObject *object, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # g_mutex_lock (&skeleton->priv->lock); 893s # if (skeleton->priv->changed_properties != NULL && 893s # skeleton->priv->changed_properties_idle_source == NULL) 893s # { 893s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 893s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 893s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 893s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 893s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 893s # g_source_unref (skeleton->priv->changed_properties_idle_source); 893s # } 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_set_property (GObject *object, 893s # guint prop_id, 893s # const GValue *value, 893s # GParamSpec *pspec) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 893s # g_mutex_lock (&skeleton->priv->lock); 893s # g_object_freeze_notify (object); 893s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 893s # { 893s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 893s # info->emits_changed_signal) 893s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 893s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 893s # g_object_notify_by_pspec (object, pspec); 893s # } 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # g_object_thaw_notify (object); 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 893s # #else 893s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 893s # #endif 893s # 893s # g_mutex_init (&skeleton->priv->lock); 893s # skeleton->priv->context = g_main_context_ref_thread_default (); 893s # skeleton->priv->properties = g_new0 (GValue, 1); 893s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 893s # } 893s # 893s # static const gchar * 893s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # const gchar *value; 893s # g_mutex_lock (&skeleton->priv->lock); 893s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # return value; 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusInterfaceSkeletonClass *skeleton_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 893s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 893s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 893s # gobject_class->notify = com_acme_coyote_skeleton_notify; 893s # 893s # 893s # com_acme_coyote_override_properties (gobject_class, 1); 893s # 893s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 893s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 893s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 893s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 893s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 893s # { 893s # iface->surprised = _com_acme_coyote_on_signal_surprised; 893s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_skeleton_new: 893s # * 893s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_skeleton_new (void) 893s # { 893s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ 893s # * Code for interface org.project.Bar.Frobnicator 893s # * ------------------------------------------------------------------------ 893s # */ 893s # 893s # /** 893s # * SECTION:OrgProjectBarFrobnicator 893s # * @title: OrgProjectBarFrobnicator 893s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 893s # * 893s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 893s # */ 893s # 893s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 893s # 893s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 893s # { 893s # { 893s # -1, 893s # (gchar *) "RandomMethod", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-random-method", 893s # FALSE 893s # }; 893s # 893s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 893s # { 893s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 893s # { 893s # { 893s # -1, 893s # (gchar *) "org.project.Bar.Frobnicator", 893s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "org-project-bar-frobnicator", 893s # }; 893s # 893s # 893s # /** 893s # * org_project_bar_frobnicator_interface_info: 893s # * 893s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 893s # * 893s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 893s # */ 893s # GDBusInterfaceInfo * 893s # org_project_bar_frobnicator_interface_info (void) 893s # { 893s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_override_properties: 893s # * @klass: The class structure for a #GObject derived class. 893s # * @property_id_begin: The property id to assign to the first overridden property. 893s # * 893s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 893s # * The properties are overridden in the order they are defined. 893s # * 893s # * Returns: The last property id. 893s # */ 893s # guint 893s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 893s # { 893s # return property_id_begin - 1; 893s # } 893s # 893s # 893s # inline static void 893s # org_project_bar_frobnicator_method_marshal_random_method ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # 893s # /** 893s # * OrgProjectBarFrobnicator: 893s # * 893s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 893s # */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorIface: 893s # * @parent_iface: The parent interface. 893s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 893s # * 893s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 893s # */ 893s # 893s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 893s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 893s # 893s # static void 893s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 893s # { 893s # /* GObject signals for incoming D-Bus method calls: */ 893s # /** 893s # * OrgProjectBarFrobnicator::handle-random-method: 893s # * @object: A #OrgProjectBarFrobnicator. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-random-method", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # org_project_bar_frobnicator_method_marshal_random_method, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_call_random_method: 893s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 893s # * 893s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # org_project_bar_frobnicator_call_random_method ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "RandomMethod", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_call_random_method_finish: 893s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # org_project_bar_frobnicator_call_random_method_finish ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_call_random_method_sync: 893s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # org_project_bar_frobnicator_call_random_method_sync ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "RandomMethod", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_complete_random_method: 893s # * @object: A #OrgProjectBarFrobnicator. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # org_project_bar_frobnicator_complete_random_method ( 893s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorProxy: 893s # * 893s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorProxyClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectBarFrobnicatorProxy. 893s # */ 893s # 893s # struct _OrgProjectBarFrobnicatorProxyPrivate 893s # { 893s # GData *qdata; 893s # }; 893s # 893s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 893s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 893s # { 893s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 893s # g_datalist_clear (&proxy->priv->qdata); 893s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # const GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 893s # const gchar *sender_name G_GNUC_UNUSED, 893s # const gchar *signal_name, 893s # GVariant *parameters) 893s # { 893s # _ExtendedGDBusSignalInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # gsize n; 893s # guint signal_id; 893s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 893s # if (info == NULL) 893s # return; 893s # num_params = g_variant_n_children (parameters); 893s # paramv = g_new0 (GValue, num_params + 1); 893s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_value_set_object (¶mv[0], proxy); 893s # g_variant_iter_init (&iter, parameters); 893s # n = 1; 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_signal_emitv (paramv, signal_id, 0, NULL); 893s # for (n = 0; n < num_params + 1; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 893s # GVariant *changed_properties, 893s # const gchar *const *invalidated_properties) 893s # { 893s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 893s # guint n; 893s # const gchar *key; 893s # GVariantIter *iter; 893s # _ExtendedGDBusPropertyInfo *info; 893s # g_variant_get (changed_properties, "a{sv}", &iter); 893s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 893s # g_datalist_remove_data (&proxy->priv->qdata, key); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # g_variant_iter_free (iter); 893s # for (n = 0; invalidated_properties[n] != NULL; n++) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 893s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 893s # #else 893s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 893s # #endif 893s # 893s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusProxyClass *proxy_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 893s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 893s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 893s # 893s # proxy_class = G_DBUS_PROXY_CLASS (klass); 893s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 893s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_bar_frobnicator_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_sync: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_for_bus: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_bar_frobnicator_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorSkeleton: 893s # * 893s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorSkeletonClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 893s # */ 893s # 893s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 893s # { 893s # GValue *properties; 893s # GList *changed_properties; 893s # GSource *changed_properties_idle_source; 893s # GMainContext *context; 893s # GMutex lock; 893s # }; 893s # 893s # static void 893s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name, 893s # const gchar *method_name, 893s # GVariant *parameters, 893s # GDBusMethodInvocation *invocation, 893s # gpointer user_data) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 893s # _ExtendedGDBusMethodInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # guint num_extra; 893s # gsize n; 893s # guint signal_id; 893s # GValue return_value = G_VALUE_INIT; 893s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 893s # g_assert (info != NULL); 893s # num_params = g_variant_n_children (parameters); 893s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 893s # n = 0; 893s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_value_set_object (¶mv[n++], skeleton); 893s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 893s # g_value_set_object (¶mv[n++], invocation); 893s # if (info->pass_fdlist) 893s # { 893s # #ifdef G_OS_UNIX 893s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 893s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 893s # #else 893s # g_assert_not_reached (); 893s # #endif 893s # } 893s # g_variant_iter_init (&iter, parameters); 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_value_init (&return_value, G_TYPE_BOOLEAN); 893s # g_signal_emitv (paramv, signal_id, 0, &return_value); 893s # if (!g_value_get_boolean (&return_value)) 893s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 893s # g_value_unset (&return_value); 893s # for (n = 0; n < num_params + num_extra; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static GVariant * 893s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # GVariant *ret; 893s # ret = NULL; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # g_value_init (&value, pspec->value_type); 893s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_value_unset (&value); 893s # } 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GVariant *variant, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # gboolean ret; 893s # ret = FALSE; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # if (info->use_gvariant) 893s # g_value_set_variant (&value, variant); 893s # else 893s # g_dbus_gvariant_to_gvalue (variant, &value); 893s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # g_value_unset (&value); 893s # ret = TRUE; 893s # } 893s # return ret; 893s # } 893s # 893s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 893s # { 893s # _org_project_bar_frobnicator_skeleton_handle_method_call, 893s # _org_project_bar_frobnicator_skeleton_handle_get_property, 893s # _org_project_bar_frobnicator_skeleton_handle_set_property, 893s # {NULL} 893s # }; 893s # 893s # static GDBusInterfaceInfo * 893s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return org_project_bar_frobnicator_interface_info (); 893s # } 893s # 893s # static GDBusInterfaceVTable * 893s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 893s # } 893s # 893s # static GVariant * 893s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 893s # 893s # GVariantBuilder builder; 893s # guint n; 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 893s # goto out; 893s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 893s # { 893s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 893s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 893s # { 893s # GVariant *value; 893s # 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); 893s # if (value != NULL) 893s # { 893s # g_variant_take_ref (value); 893s # g_variant_builder_add (&builder, "{sv}", info->name, value); 893s # g_variant_unref (value); 893s # } 893s # } 893s # } 893s # out: 893s # return g_variant_builder_end (&builder); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # g_main_context_unref (skeleton->priv->context); 893s # g_mutex_clear (&skeleton->priv->lock); 893s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 893s # #else 893s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 893s # #endif 893s # 893s # g_mutex_init (&skeleton->priv->lock); 893s # skeleton->priv->context = g_main_context_ref_thread_default (); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusInterfaceSkeletonClass *skeleton_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 893s # 893s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 893s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 893s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 893s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 893s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_skeleton_new: 893s # * 893s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_skeleton_new (void) 893s # { 893s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 893s # } 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp72etdfy8/tmpxasmjqxw2.xml', '/tmp/tmp72etdfy8/tmpk8dy4o9i1.xml', '--output', '-', '--body'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifdef HAVE_CONFIG_H 893s # # include "config.h" 893s # #endif 893s # 893s # #include 893s # #ifdef G_OS_UNIX 893s # # include 893s # #endif 893s # 893s # #ifdef G_ENABLE_DEBUG 893s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 893s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 893s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 893s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 893s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 893s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 893s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 893s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 893s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 893s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 893s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 893s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 893s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 893s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 893s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 893s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 893s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 893s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 893s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 893s # #else /* !G_ENABLE_DEBUG */ 893s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 893s # * Do not access GValues directly in your code. Instead, use the 893s # * g_value_get_*() functions 893s # */ 893s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 893s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 893s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 893s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 893s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 893s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 893s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 893s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 893s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 893s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 893s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 893s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 893s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 893s # #endif /* !G_ENABLE_DEBUG */ 893s # 893s # typedef struct 893s # { 893s # GDBusArgInfo parent_struct; 893s # gboolean use_gvariant; 893s # } _ExtendedGDBusArgInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusMethodInfo parent_struct; 893s # const gchar *signal_name; 893s # gboolean pass_fdlist; 893s # } _ExtendedGDBusMethodInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusSignalInfo parent_struct; 893s # const gchar *signal_name; 893s # } _ExtendedGDBusSignalInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusPropertyInfo parent_struct; 893s # const gchar *hyphen_name; 893s # guint use_gvariant : 1; 893s # guint emits_changed_signal : 1; 893s # } _ExtendedGDBusPropertyInfo; 893s # 893s # typedef struct 893s # { 893s # GDBusInterfaceInfo parent_struct; 893s # const gchar *hyphen_name; 893s # } _ExtendedGDBusInterfaceInfo; 893s # 893s # typedef struct 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # guint prop_id; 893s # GValue orig_value; /* the value before the change */ 893s # } ChangedProperty; 893s # 893s # static void 893s # _changed_property_free (ChangedProperty *data) 893s # { 893s # g_value_unset (&data->orig_value); 893s # g_free (data); 893s # } 893s # 893s # static gboolean 893s # _g_strv_equal0 (gchar **a, gchar **b) 893s # { 893s # gboolean ret = FALSE; 893s # guint n; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # if (g_strv_length (a) != g_strv_length (b)) 893s # goto out; 893s # for (n = 0; a[n] != NULL; n++) 893s # if (g_strcmp0 (a[n], b[n]) != 0) 893s # goto out; 893s # ret = TRUE; 893s # out: 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _g_variant_equal0 (GVariant *a, GVariant *b) 893s # { 893s # gboolean ret = FALSE; 893s # if (a == NULL && b == NULL) 893s # { 893s # ret = TRUE; 893s # goto out; 893s # } 893s # if (a == NULL || b == NULL) 893s # goto out; 893s # ret = g_variant_equal (a, b); 893s # out: 893s # return ret; 893s # } 893s # 893s # G_GNUC_UNUSED static gboolean 893s # _g_value_equal (const GValue *a, const GValue *b) 893s # { 893s # gboolean ret = FALSE; 893s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 893s # switch (G_VALUE_TYPE (a)) 893s # { 893s # case G_TYPE_BOOLEAN: 893s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 893s # break; 893s # case G_TYPE_UCHAR: 893s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 893s # break; 893s # case G_TYPE_INT: 893s # ret = (g_value_get_int (a) == g_value_get_int (b)); 893s # break; 893s # case G_TYPE_UINT: 893s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 893s # break; 893s # case G_TYPE_INT64: 893s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 893s # break; 893s # case G_TYPE_UINT64: 893s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 893s # break; 893s # case G_TYPE_DOUBLE: 893s # { 893s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 893s # gdouble da = g_value_get_double (a); 893s # gdouble db = g_value_get_double (b); 893s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 893s # } 893s # break; 893s # case G_TYPE_STRING: 893s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 893s # break; 893s # case G_TYPE_VARIANT: 893s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 893s # break; 893s # default: 893s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 893s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 893s # else 893s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 893s # break; 893s # } 893s # return ret; 893s # } 893s # 893s # static void 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint G_GNUC_UNUSED, 893s # void *marshal_data) 893s # { 893s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 893s # (void *data1, 893s # GDBusMethodInvocation *arg_method_invocation, 893s # void *data2); 893s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 893s # GCClosure *cc = (GCClosure*) closure; 893s # void *data1, *data2; 893s # gboolean v_return; 893s # 893s # g_return_if_fail (return_value != NULL); 893s # g_return_if_fail (n_param_values == 2); 893s # 893s # if (G_CCLOSURE_SWAP_DATA (closure)) 893s # { 893s # data1 = closure->data; 893s # data2 = g_value_peek_pointer (param_values + 0); 893s # } 893s # else 893s # { 893s # data1 = g_value_peek_pointer (param_values + 0); 893s # data2 = closure->data; 893s # } 893s # 893s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 893s # (marshal_data ? marshal_data : cc->callback); 893s # 893s # v_return = 893s # callback (data1, 893s # g_marshal_value_peek_object (param_values + 1), 893s # data2); 893s # 893s # g_value_set_boolean (return_value, v_return); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ 893s # * Code for interface com.acme.Coyote 893s # * ------------------------------------------------------------------------ 893s # */ 893s # 893s # /** 893s # * SECTION:ComAcmeCoyote 893s # * @title: ComAcmeCoyote 893s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 893s # * 893s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 893s # */ 893s # 893s # enum 893s # { 893s # _COM_ACME_COYOTE_SURPRISED, 893s # }; 893s # 893s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 893s # 893s # /* ---- Introspection data for com.acme.Coyote ---- */ 893s # 893s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Run", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-run", 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Sleep", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-sleep", 893s # FALSE 893s # }; 893s # 893s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Attack", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-attack", 893s # FALSE 893s # }; 893s # 893s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 893s # { 893s # &_com_acme_coyote_method_info_run.parent_struct, 893s # &_com_acme_coyote_method_info_sleep.parent_struct, 893s # &_com_acme_coyote_method_info_attack.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Surprised", 893s # NULL, 893s # NULL 893s # }, 893s # "surprised" 893s # }; 893s # 893s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 893s # { 893s # &_com_acme_coyote_signal_info_surprised.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 893s # { 893s # { 893s # -1, 893s # (gchar *) "Mood", 893s # (gchar *) "s", 893s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 893s # NULL 893s # }, 893s # "mood", 893s # FALSE, 893s # TRUE 893s # }; 893s # 893s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 893s # { 893s # &_com_acme_coyote_property_info_mood.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 893s # { 893s # { 893s # -1, 893s # (gchar *) "com.acme.Coyote", 893s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 893s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 893s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 893s # NULL 893s # }, 893s # "com-acme-coyote", 893s # }; 893s # 893s # 893s # /** 893s # * com_acme_coyote_interface_info: 893s # * 893s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 893s # * 893s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 893s # */ 893s # GDBusInterfaceInfo * 893s # com_acme_coyote_interface_info (void) 893s # { 893s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_override_properties: 893s # * @klass: The class structure for a #GObject derived class. 893s # * @property_id_begin: The property id to assign to the first overridden property. 893s # * 893s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 893s # * The properties are overridden in the order they are defined. 893s # * 893s # * Returns: The last property id. 893s # */ 893s # guint 893s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 893s # { 893s # g_object_class_override_property (klass, property_id_begin++, "mood"); 893s # return property_id_begin - 1; 893s # } 893s # 893s # 893s # inline static void 893s # com_acme_coyote_signal_marshal_surprised ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # g_cclosure_marshal_VOID__VOID (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # com_acme_coyote_method_marshal_run ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # com_acme_coyote_method_marshal_sleep ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # inline static void 893s # com_acme_coyote_method_marshal_attack ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # 893s # /** 893s # * ComAcmeCoyote: 893s # * 893s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 893s # */ 893s # 893s # /** 893s # * ComAcmeCoyoteIface: 893s # * @parent_iface: The parent interface. 893s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 893s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 893s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 893s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 893s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 893s # * 893s # * Virtual table for the D-Bus interface com.acme.Coyote. 893s # */ 893s # 893s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 893s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 893s # 893s # static void 893s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 893s # { 893s # /* GObject signals for incoming D-Bus method calls: */ 893s # /** 893s # * ComAcmeCoyote::handle-run: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-run", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # com_acme_coyote_method_marshal_run, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # /** 893s # * ComAcmeCoyote::handle-sleep: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-sleep", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # com_acme_coyote_method_marshal_sleep, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # /** 893s # * ComAcmeCoyote::handle-attack: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-attack", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # com_acme_coyote_method_marshal_attack, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # /* GObject signals for received D-Bus signals: */ 893s # /** 893s # * ComAcmeCoyote::surprised: 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 893s # * 893s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 893s # */ 893s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 893s # g_signal_new ("surprised", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 893s # NULL, 893s # NULL, 893s # com_acme_coyote_signal_marshal_surprised, 893s # G_TYPE_NONE, 893s # 0); 893s # 893s # /* GObject properties for D-Bus properties: */ 893s # /** 893s # * ComAcmeCoyote:mood: 893s # * 893s # * Represents the D-Bus property "Mood". 893s # * 893s # * 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. 893s # */ 893s # g_object_interface_install_property (iface, 893s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_get_mood: (skip) 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * Gets the value of the "Mood" D-Bus property. 893s # * 893s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # const gchar * 893s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 893s # { 893s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 893s # 893s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_dup_mood: (skip) 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * Gets a copy of the "Mood" D-Bus property. 893s # * 893s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 893s # * 893s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 893s # */ 893s # gchar * 893s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 893s # { 893s # gchar *value; 893s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 893s # return value; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_set_mood: (skip) 893s # * @object: A #ComAcmeCoyote. 893s # * @value: The value to set. 893s # * 893s # * Sets the "Mood" D-Bus property to @value. 893s # * 893s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 893s # */ 893s # void 893s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 893s # { 893s # g_object_set (G_OBJECT (object), "mood", value, NULL); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_emit_surprised: 893s # * @object: A #ComAcmeCoyote. 893s # * 893s # * Emits the "Surprised" D-Bus signal. 893s # */ 893s # void 893s # com_acme_coyote_emit_surprised ( 893s # ComAcmeCoyote *object) 893s # { 893s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_run: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the Run() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # com_acme_coyote_call_run ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "Run", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_run_finish: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with com_acme_coyote_call_run(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_run_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_run_sync: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_run_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "Run", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_sleep: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # com_acme_coyote_call_sleep ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "Sleep", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_sleep_finish: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with com_acme_coyote_call_sleep(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_sleep_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_sleep_sync: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_sleep_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "Sleep", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_attack: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # com_acme_coyote_call_attack ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "Attack", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_attack_finish: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with com_acme_coyote_call_attack(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_attack_finish ( 893s # ComAcmeCoyote *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_call_attack_sync: 893s # * @proxy: A #ComAcmeCoyoteProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # com_acme_coyote_call_attack_sync ( 893s # ComAcmeCoyote *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "Attack", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_complete_run: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # com_acme_coyote_complete_run ( 893s # ComAcmeCoyote *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_complete_sleep: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # com_acme_coyote_complete_sleep ( 893s # ComAcmeCoyote *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_complete_attack: 893s # * @object: A #ComAcmeCoyote. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # com_acme_coyote_complete_attack ( 893s # ComAcmeCoyote *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * ComAcmeCoyoteProxy: 893s # * 893s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * ComAcmeCoyoteProxyClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #ComAcmeCoyoteProxy. 893s # */ 893s # 893s # struct _ComAcmeCoyoteProxyPrivate 893s # { 893s # GData *qdata; 893s # }; 893s # 893s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 893s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 893s # 893s # #endif 893s # static void 893s # com_acme_coyote_proxy_finalize (GObject *object) 893s # { 893s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 893s # g_datalist_clear (&proxy->priv->qdata); 893s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_get_property (GObject *object, 893s # guint prop_id, 893s # GValue *value, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # GVariant *variant; 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 893s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 893s # if (info->use_gvariant) 893s # { 893s # g_value_set_variant (value, variant); 893s # } 893s # else 893s # { 893s # if (variant != NULL) 893s # g_dbus_gvariant_to_gvalue (variant, value); 893s # } 893s # if (variant != NULL) 893s # g_variant_unref (variant); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 893s # GAsyncResult *res, 893s # gpointer user_data) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info = user_data; 893s # GError *error; 893s # GVariant *_ret; 893s # error = NULL; 893s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 893s # if (!_ret) 893s # { 893s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 893s # info->parent_struct.name, 893s # error->message, g_quark_to_string (error->domain), error->code); 893s # g_error_free (error); 893s # } 893s # else 893s # { 893s # g_variant_unref (_ret); 893s # } 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_set_property (GObject *object, 893s # guint prop_id, 893s # const GValue *value, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # GVariant *variant; 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 893s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_dbus_proxy_call (G_DBUS_PROXY (object), 893s # "org.freedesktop.DBus.Properties.Set", 893s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 893s # g_variant_unref (variant); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 893s # const gchar *sender_name G_GNUC_UNUSED, 893s # const gchar *signal_name, 893s # GVariant *parameters) 893s # { 893s # _ExtendedGDBusSignalInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # gsize n; 893s # guint signal_id; 893s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 893s # if (info == NULL) 893s # return; 893s # num_params = g_variant_n_children (parameters); 893s # paramv = g_new0 (GValue, num_params + 1); 893s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 893s # g_value_set_object (¶mv[0], proxy); 893s # g_variant_iter_init (&iter, parameters); 893s # n = 1; 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 893s # g_signal_emitv (paramv, signal_id, 0, NULL); 893s # for (n = 0; n < num_params + 1; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 893s # GVariant *changed_properties, 893s # const gchar *const *invalidated_properties) 893s # { 893s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 893s # guint n; 893s # const gchar *key; 893s # GVariantIter *iter; 893s # _ExtendedGDBusPropertyInfo *info; 893s # g_variant_get (changed_properties, "a{sv}", &iter); 893s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 893s # g_datalist_remove_data (&proxy->priv->qdata, key); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # g_variant_iter_free (iter); 893s # for (n = 0; invalidated_properties[n] != NULL; n++) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 893s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # } 893s # 893s # static const gchar * 893s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 893s # { 893s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 893s # GVariant *variant; 893s # const gchar *value = NULL; 893s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 893s # if (variant != NULL) 893s # { 893s # value = g_variant_get_string (variant, NULL); 893s # g_variant_unref (variant); 893s # } 893s # return value; 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 893s # #else 893s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 893s # #endif 893s # 893s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusProxyClass *proxy_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 893s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 893s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 893s # 893s # proxy_class = G_DBUS_PROXY_CLASS (klass); 893s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 893s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 893s # 893s # com_acme_coyote_override_properties (gobject_class, 1); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 893s # { 893s # iface->get_mood = com_acme_coyote_proxy_get_mood; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # com_acme_coyote_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with com_acme_coyote_proxy_new(). 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_sync: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_for_bus: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 893s # * 893s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # com_acme_coyote_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_for_bus_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_proxy_new_for_bus_sync: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return COM_ACME_COYOTE (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * ComAcmeCoyoteSkeleton: 893s # * 893s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * ComAcmeCoyoteSkeletonClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #ComAcmeCoyoteSkeleton. 893s # */ 893s # 893s # struct _ComAcmeCoyoteSkeletonPrivate 893s # { 893s # GValue *properties; 893s # GList *changed_properties; 893s # GSource *changed_properties_idle_source; 893s # GMainContext *context; 893s # GMutex lock; 893s # }; 893s # 893s # static void 893s # _com_acme_coyote_skeleton_handle_method_call ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name, 893s # const gchar *method_name, 893s # GVariant *parameters, 893s # GDBusMethodInvocation *invocation, 893s # gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # _ExtendedGDBusMethodInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # guint num_extra; 893s # gsize n; 893s # guint signal_id; 893s # GValue return_value = G_VALUE_INIT; 893s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 893s # g_assert (info != NULL); 893s # num_params = g_variant_n_children (parameters); 893s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 893s # n = 0; 893s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 893s # g_value_set_object (¶mv[n++], skeleton); 893s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 893s # g_value_set_object (¶mv[n++], invocation); 893s # if (info->pass_fdlist) 893s # { 893s # #ifdef G_OS_UNIX 893s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 893s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 893s # #else 893s # g_assert_not_reached (); 893s # #endif 893s # } 893s # g_variant_iter_init (&iter, parameters); 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 893s # g_value_init (&return_value, G_TYPE_BOOLEAN); 893s # g_signal_emitv (paramv, signal_id, 0, &return_value); 893s # if (!g_value_get_boolean (&return_value)) 893s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 893s # g_value_unset (&return_value); 893s # for (n = 0; n < num_params + num_extra; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static GVariant * 893s # _com_acme_coyote_skeleton_handle_get_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # GVariant *ret; 893s # ret = NULL; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # g_value_init (&value, pspec->value_type); 893s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_value_unset (&value); 893s # } 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _com_acme_coyote_skeleton_handle_set_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GVariant *variant, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # gboolean ret; 893s # ret = FALSE; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # if (info->use_gvariant) 893s # g_value_set_variant (&value, variant); 893s # else 893s # g_dbus_gvariant_to_gvalue (variant, &value); 893s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # g_value_unset (&value); 893s # ret = TRUE; 893s # } 893s # return ret; 893s # } 893s # 893s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 893s # { 893s # _com_acme_coyote_skeleton_handle_method_call, 893s # _com_acme_coyote_skeleton_handle_get_property, 893s # _com_acme_coyote_skeleton_handle_set_property, 893s # {NULL} 893s # }; 893s # 893s # static GDBusInterfaceInfo * 893s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return com_acme_coyote_interface_info (); 893s # } 893s # 893s # static GDBusInterfaceVTable * 893s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 893s # } 893s # 893s # static GVariant * 893s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 893s # 893s # GVariantBuilder builder; 893s # guint n; 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 893s # goto out; 893s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 893s # { 893s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 893s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 893s # { 893s # GVariant *value; 893s # 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); 893s # if (value != NULL) 893s # { 893s # g_variant_take_ref (value); 893s # g_variant_builder_add (&builder, "{sv}", info->name, value); 893s # g_variant_unref (value); 893s # } 893s # } 893s # } 893s # out: 893s # return g_variant_builder_end (&builder); 893s # } 893s # 893s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 893s # 893s # static void 893s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 893s # gboolean emit_changed = FALSE; 893s # 893s # g_mutex_lock (&skeleton->priv->lock); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # { 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # skeleton->priv->changed_properties_idle_source = NULL; 893s # emit_changed = TRUE; 893s # } 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # 893s # if (emit_changed) 893s # _com_acme_coyote_emit_changed (skeleton); 893s # } 893s # 893s # static void 893s # _com_acme_coyote_on_signal_surprised ( 893s # ComAcmeCoyote *object) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # 893s # GList *connections, *l; 893s # GVariant *signal_variant; 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # 893s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 893s # for (l = connections; l != NULL; l = l->next) 893s # { 893s # GDBusConnection *connection = l->data; 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 893s # signal_variant, NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # 893s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 893s # 893s # #endif 893s # static void 893s # com_acme_coyote_skeleton_finalize (GObject *object) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # guint n; 893s # for (n = 0; n < 1; n++) 893s # g_value_unset (&skeleton->priv->properties[n]); 893s # g_free (skeleton->priv->properties); 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # g_main_context_unref (skeleton->priv->context); 893s # g_mutex_clear (&skeleton->priv->lock); 893s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_get_property (GObject *object, 893s # guint prop_id, 893s # GValue *value, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # g_mutex_lock (&skeleton->priv->lock); 893s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # } 893s # 893s # static gboolean 893s # _com_acme_coyote_emit_changed (gpointer user_data) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 893s # GList *l; 893s # GVariantBuilder builder; 893s # GVariantBuilder invalidated_builder; 893s # guint num_changes; 893s # 893s # g_mutex_lock (&skeleton->priv->lock); 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 893s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 893s # { 893s # ChangedProperty *cp = l->data; 893s # GVariant *variant; 893s # const GValue *cur_value; 893s # 893s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 893s # if (!_g_value_equal (cur_value, &cp->orig_value)) 893s # { 893s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 893s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 893s # g_variant_unref (variant); 893s # num_changes++; 893s # } 893s # } 893s # if (num_changes > 0) 893s # { 893s # GList *connections, *ll; 893s # GVariant *signal_variant; 893s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 893s # &builder, &invalidated_builder)); 893s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 893s # for (ll = connections; ll != NULL; ll = ll->next) 893s # { 893s # GDBusConnection *connection = ll->data; 893s # 893s # g_dbus_connection_emit_signal (connection, 893s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 893s # "org.freedesktop.DBus.Properties", 893s # "PropertiesChanged", 893s # signal_variant, 893s # NULL); 893s # } 893s # g_variant_unref (signal_variant); 893s # g_list_free_full (connections, g_object_unref); 893s # } 893s # else 893s # { 893s # g_variant_builder_clear (&builder); 893s # g_variant_builder_clear (&invalidated_builder); 893s # } 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # skeleton->priv->changed_properties = NULL; 893s # skeleton->priv->changed_properties_idle_source = NULL; 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # return FALSE; 893s # } 893s # 893s # static void 893s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 893s # { 893s # ChangedProperty *cp; 893s # GList *l; 893s # cp = NULL; 893s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 893s # { 893s # ChangedProperty *i_cp = l->data; 893s # if (i_cp->info == info) 893s # { 893s # cp = i_cp; 893s # break; 893s # } 893s # } 893s # if (cp == NULL) 893s # { 893s # cp = g_new0 (ChangedProperty, 1); 893s # cp->prop_id = prop_id; 893s # cp->info = info; 893s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 893s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 893s # g_value_copy (orig_value, &cp->orig_value); 893s # } 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_notify (GObject *object, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # g_mutex_lock (&skeleton->priv->lock); 893s # if (skeleton->priv->changed_properties != NULL && 893s # skeleton->priv->changed_properties_idle_source == NULL) 893s # { 893s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 893s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 893s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 893s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 893s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 893s # g_source_unref (skeleton->priv->changed_properties_idle_source); 893s # } 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_set_property (GObject *object, 893s # guint prop_id, 893s # const GValue *value, 893s # GParamSpec *pspec) 893s # { 893s # const _ExtendedGDBusPropertyInfo *info; 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # g_assert (prop_id != 0 && prop_id - 1 < 1); 893s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 893s # g_mutex_lock (&skeleton->priv->lock); 893s # g_object_freeze_notify (object); 893s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 893s # { 893s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 893s # info->emits_changed_signal) 893s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 893s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 893s # g_object_notify_by_pspec (object, pspec); 893s # } 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # g_object_thaw_notify (object); 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 893s # #else 893s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 893s # #endif 893s # 893s # g_mutex_init (&skeleton->priv->lock); 893s # skeleton->priv->context = g_main_context_ref_thread_default (); 893s # skeleton->priv->properties = g_new0 (GValue, 1); 893s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 893s # } 893s # 893s # static const gchar * 893s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 893s # { 893s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 893s # const gchar *value; 893s # g_mutex_lock (&skeleton->priv->lock); 893s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 893s # g_mutex_unlock (&skeleton->priv->lock); 893s # return value; 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusInterfaceSkeletonClass *skeleton_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 893s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 893s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 893s # gobject_class->notify = com_acme_coyote_skeleton_notify; 893s # 893s # 893s # com_acme_coyote_override_properties (gobject_class, 1); 893s # 893s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 893s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 893s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 893s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 893s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 893s # { 893s # iface->surprised = _com_acme_coyote_on_signal_surprised; 893s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 893s # } 893s # 893s # /** 893s # * com_acme_coyote_skeleton_new: 893s # * 893s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 893s # * 893s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 893s # */ 893s # ComAcmeCoyote * 893s # com_acme_coyote_skeleton_new (void) 893s # { 893s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ 893s # * Code for interface org.project.Bar.Frobnicator 893s # * ------------------------------------------------------------------------ 893s # */ 893s # 893s # /** 893s # * SECTION:OrgProjectBarFrobnicator 893s # * @title: OrgProjectBarFrobnicator 893s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 893s # * 893s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 893s # */ 893s # 893s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 893s # 893s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 893s # { 893s # { 893s # -1, 893s # (gchar *) "RandomMethod", 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "handle-random-method", 893s # FALSE 893s # }; 893s # 893s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 893s # { 893s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 893s # NULL 893s # }; 893s # 893s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 893s # { 893s # { 893s # -1, 893s # (gchar *) "org.project.Bar.Frobnicator", 893s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 893s # NULL, 893s # NULL, 893s # NULL 893s # }, 893s # "org-project-bar-frobnicator", 893s # }; 893s # 893s # 893s # /** 893s # * org_project_bar_frobnicator_interface_info: 893s # * 893s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 893s # * 893s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 893s # */ 893s # GDBusInterfaceInfo * 893s # org_project_bar_frobnicator_interface_info (void) 893s # { 893s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_override_properties: 893s # * @klass: The class structure for a #GObject derived class. 893s # * @property_id_begin: The property id to assign to the first overridden property. 893s # * 893s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 893s # * The properties are overridden in the order they are defined. 893s # * 893s # * Returns: The last property id. 893s # */ 893s # guint 893s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 893s # { 893s # return property_id_begin - 1; 893s # } 893s # 893s # 893s # inline static void 893s # org_project_bar_frobnicator_method_marshal_random_method ( 893s # GClosure *closure, 893s # GValue *return_value, 893s # unsigned int n_param_values, 893s # const GValue *param_values, 893s # void *invocation_hint, 893s # void *marshal_data) 893s # { 893s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 893s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 893s # } 893s # 893s # 893s # /** 893s # * OrgProjectBarFrobnicator: 893s # * 893s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 893s # */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorIface: 893s # * @parent_iface: The parent interface. 893s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 893s # * 893s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 893s # */ 893s # 893s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 893s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 893s # 893s # static void 893s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 893s # { 893s # /* GObject signals for incoming D-Bus method calls: */ 893s # /** 893s # * OrgProjectBarFrobnicator::handle-random-method: 893s # * @object: A #OrgProjectBarFrobnicator. 893s # * @invocation: A #GDBusMethodInvocation. 893s # * 893s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 893s # * 893s # * 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. 893s # * 893s # * 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. 893s # */ 893s # g_signal_new ("handle-random-method", 893s # G_TYPE_FROM_INTERFACE (iface), 893s # G_SIGNAL_RUN_LAST, 893s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 893s # g_signal_accumulator_true_handled, 893s # NULL, 893s # org_project_bar_frobnicator_method_marshal_random_method, 893s # G_TYPE_BOOLEAN, 893s # 1, 893s # G_TYPE_DBUS_METHOD_INVOCATION); 893s # 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_call_random_method: 893s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 893s # * 893s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 893s # */ 893s # void 893s # org_project_bar_frobnicator_call_random_method ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 893s # "RandomMethod", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # callback, 893s # user_data); 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_call_random_method_finish: 893s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # org_project_bar_frobnicator_call_random_method_finish ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_call_random_method_sync: 893s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL. 893s # * 893s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 893s # * 893s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 893s # */ 893s # gboolean 893s # org_project_bar_frobnicator_call_random_method_sync ( 893s # OrgProjectBarFrobnicator *proxy, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GVariant *_ret; 893s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 893s # "RandomMethod", 893s # g_variant_new ("()"), 893s # G_DBUS_CALL_FLAGS_NONE, 893s # -1, 893s # cancellable, 893s # error); 893s # if (_ret == NULL) 893s # goto _out; 893s # g_variant_get (_ret, 893s # "()"); 893s # g_variant_unref (_ret); 893s # _out: 893s # return _ret != NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_complete_random_method: 893s # * @object: A #OrgProjectBarFrobnicator. 893s # * @invocation: (transfer full): A #GDBusMethodInvocation. 893s # * 893s # * 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. 893s # * 893s # * This method will free @invocation, you cannot use it afterwards. 893s # */ 893s # void 893s # org_project_bar_frobnicator_complete_random_method ( 893s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 893s # GDBusMethodInvocation *invocation) 893s # { 893s # g_dbus_method_invocation_return_value (invocation, 893s # g_variant_new ("()")); 893s # } 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorProxy: 893s # * 893s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorProxyClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectBarFrobnicatorProxy. 893s # */ 893s # 893s # struct _OrgProjectBarFrobnicatorProxyPrivate 893s # { 893s # GData *qdata; 893s # }; 893s # 893s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 893s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 893s # { 893s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 893s # g_datalist_clear (&proxy->priv->qdata); 893s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 893s # guint prop_id G_GNUC_UNUSED, 893s # const GValue *value G_GNUC_UNUSED, 893s # GParamSpec *pspec G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 893s # const gchar *sender_name G_GNUC_UNUSED, 893s # const gchar *signal_name, 893s # GVariant *parameters) 893s # { 893s # _ExtendedGDBusSignalInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # gsize n; 893s # guint signal_id; 893s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 893s # if (info == NULL) 893s # return; 893s # num_params = g_variant_n_children (parameters); 893s # paramv = g_new0 (GValue, num_params + 1); 893s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_value_set_object (¶mv[0], proxy); 893s # g_variant_iter_init (&iter, parameters); 893s # n = 1; 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_signal_emitv (paramv, signal_id, 0, NULL); 893s # for (n = 0; n < num_params + 1; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 893s # GVariant *changed_properties, 893s # const gchar *const *invalidated_properties) 893s # { 893s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 893s # guint n; 893s # const gchar *key; 893s # GVariantIter *iter; 893s # _ExtendedGDBusPropertyInfo *info; 893s # g_variant_get (changed_properties, "a{sv}", &iter); 893s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 893s # g_datalist_remove_data (&proxy->priv->qdata, key); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # g_variant_iter_free (iter); 893s # for (n = 0; invalidated_properties[n] != NULL; n++) 893s # { 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 893s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 893s # if (info != NULL) 893s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 893s # } 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 893s # #else 893s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 893s # #endif 893s # 893s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusProxyClass *proxy_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 893s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 893s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 893s # 893s # proxy_class = G_DBUS_PROXY_CLASS (klass); 893s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 893s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_bar_frobnicator_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_sync: 893s # * @connection: A #GDBusConnection. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_for_bus: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 893s # * @user_data: User data to pass to @callback. 893s # * 893s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 893s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 893s # */ 893s # void 893s # org_project_bar_frobnicator_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data) 893s # { 893s # 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); 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 893s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 893s # * @error: Return location for error or %NULL 893s # * 893s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error) 893s # { 893s # GObject *ret; 893s # GObject *source_object; 893s # source_object = g_async_result_get_source_object (res); 893s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 893s # g_object_unref (source_object); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 893s # * @bus_type: A #GBusType. 893s # * @flags: Flags from the #GDBusProxyFlags enumeration. 893s # * @name: A bus name (well-known or unique). 893s # * @object_path: An object path. 893s # * @cancellable: (nullable): A #GCancellable or %NULL. 893s # * @error: Return location for error or %NULL 893s # * 893s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 893s # * 893s # * The calling thread is blocked until a reply is received. 893s # * 893s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error) 893s # { 893s # GInitable *ret; 893s # 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); 893s # if (ret != NULL) 893s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 893s # else 893s # return NULL; 893s # } 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorSkeleton: 893s # * 893s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 893s # */ 893s # 893s # /** 893s # * OrgProjectBarFrobnicatorSkeletonClass: 893s # * @parent_class: The parent class. 893s # * 893s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 893s # */ 893s # 893s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 893s # { 893s # GValue *properties; 893s # GList *changed_properties; 893s # GSource *changed_properties_idle_source; 893s # GMainContext *context; 893s # GMutex lock; 893s # }; 893s # 893s # static void 893s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name, 893s # const gchar *method_name, 893s # GVariant *parameters, 893s # GDBusMethodInvocation *invocation, 893s # gpointer user_data) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 893s # _ExtendedGDBusMethodInfo *info; 893s # GVariantIter iter; 893s # GVariant *child; 893s # GValue *paramv; 893s # gsize num_params; 893s # guint num_extra; 893s # gsize n; 893s # guint signal_id; 893s # GValue return_value = G_VALUE_INIT; 893s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 893s # g_assert (info != NULL); 893s # num_params = g_variant_n_children (parameters); 893s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 893s # n = 0; 893s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_value_set_object (¶mv[n++], skeleton); 893s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 893s # g_value_set_object (¶mv[n++], invocation); 893s # if (info->pass_fdlist) 893s # { 893s # #ifdef G_OS_UNIX 893s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 893s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 893s # #else 893s # g_assert_not_reached (); 893s # #endif 893s # } 893s # g_variant_iter_init (&iter, parameters); 893s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 893s # { 893s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 893s # if (arg_info->use_gvariant) 893s # { 893s # g_value_init (¶mv[n], G_TYPE_VARIANT); 893s # g_value_set_variant (¶mv[n], child); 893s # n++; 893s # } 893s # else 893s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 893s # g_variant_unref (child); 893s # } 893s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 893s # g_value_init (&return_value, G_TYPE_BOOLEAN); 893s # g_signal_emitv (paramv, signal_id, 0, &return_value); 893s # if (!g_value_get_boolean (&return_value)) 893s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 893s # g_value_unset (&return_value); 893s # for (n = 0; n < num_params + num_extra; n++) 893s # g_value_unset (¶mv[n]); 893s # g_free (paramv); 893s # } 893s # 893s # static GVariant * 893s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # GVariant *ret; 893s # ret = NULL; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # g_value_init (&value, pspec->value_type); 893s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 893s # g_value_unset (&value); 893s # } 893s # return ret; 893s # } 893s # 893s # static gboolean 893s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 893s # GDBusConnection *connection G_GNUC_UNUSED, 893s # const gchar *sender G_GNUC_UNUSED, 893s # const gchar *object_path G_GNUC_UNUSED, 893s # const gchar *interface_name G_GNUC_UNUSED, 893s # const gchar *property_name, 893s # GVariant *variant, 893s # GError **error, 893s # gpointer user_data) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 893s # GValue value = G_VALUE_INIT; 893s # GParamSpec *pspec; 893s # _ExtendedGDBusPropertyInfo *info; 893s # gboolean ret; 893s # ret = FALSE; 893s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 893s # g_assert (info != NULL); 893s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 893s # if (pspec == NULL) 893s # { 893s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 893s # } 893s # else 893s # { 893s # if (info->use_gvariant) 893s # g_value_set_variant (&value, variant); 893s # else 893s # g_dbus_gvariant_to_gvalue (variant, &value); 893s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 893s # g_value_unset (&value); 893s # ret = TRUE; 893s # } 893s # return ret; 893s # } 893s # 893s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 893s # { 893s # _org_project_bar_frobnicator_skeleton_handle_method_call, 893s # _org_project_bar_frobnicator_skeleton_handle_get_property, 893s # _org_project_bar_frobnicator_skeleton_handle_set_property, 893s # {NULL} 893s # }; 893s # 893s # static GDBusInterfaceInfo * 893s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return org_project_bar_frobnicator_interface_info (); 893s # } 893s # 893s # static GDBusInterfaceVTable * 893s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 893s # { 893s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 893s # } 893s # 893s # static GVariant * 893s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 893s # 893s # GVariantBuilder builder; 893s # guint n; 893s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 893s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 893s # goto out; 893s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 893s # { 893s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 893s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 893s # { 893s # GVariant *value; 893s # 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); 893s # if (value != NULL) 893s # { 893s # g_variant_take_ref (value); 893s # g_variant_builder_add (&builder, "{sv}", info->name, value); 893s # g_variant_unref (value); 893s # } 893s # } 893s # } 893s # out: 893s # return g_variant_builder_end (&builder); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 893s # 893s # #else 893s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 893s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 893s # 893s # #endif 893s # static void 893s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 893s # { 893s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 893s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 893s # if (skeleton->priv->changed_properties_idle_source != NULL) 893s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 893s # g_main_context_unref (skeleton->priv->context); 893s # g_mutex_clear (&skeleton->priv->lock); 893s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 893s # { 893s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 893s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 893s # #else 893s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 893s # #endif 893s # 893s # g_mutex_init (&skeleton->priv->lock); 893s # skeleton->priv->context = g_main_context_ref_thread_default (); 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 893s # { 893s # GObjectClass *gobject_class; 893s # GDBusInterfaceSkeletonClass *skeleton_class; 893s # 893s # gobject_class = G_OBJECT_CLASS (klass); 893s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 893s # 893s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 893s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 893s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 893s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 893s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 893s # 893s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 893s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 893s # #endif 893s # } 893s # 893s # static void 893s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 893s # { 893s # } 893s # 893s # /** 893s # * org_project_bar_frobnicator_skeleton_new: 893s # * 893s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 893s # * 893s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 893s # */ 893s # OrgProjectBarFrobnicator * 893s # org_project_bar_frobnicator_skeleton_new (void) 893s # { 893s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 893s # } 893s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 893s # tmpdir: /tmp/tmpirj_6f5x 893s # codegen: /usr/bin/gdbus-codegen 893s # /tmp/tmpirj_6f5x/tmpy9dxwsav.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpirj_6f5x/tmpy9dxwsav.xml', '--output', '-', '--header'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # /* Declarations for FDPassing */ 893s # 893s # #define TYPE_FDPASSING (fdpassing_get_type ()) 893s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 893s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 893s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 893s # 893s # struct _FDPassing; 893s # typedef struct _FDPassing FDPassing; 893s # typedef struct _FDPassingIface FDPassingIface; 893s # 893s # struct _FDPassingIface 893s # { 893s # GTypeInterface parent_iface; 893s # 893s # gboolean (*handle_hello_fd) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # const gchar *arg_greeting); 893s # 893s # gboolean (*handle_no_annotation) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale); 893s # 893s # gboolean (*handle_no_annotation_nested) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GVariant *arg_files); 893s # 893s # }; 893s # 893s # GType fdpassing_get_type (void) G_GNUC_CONST; 893s # 893s # GDBusInterfaceInfo *fdpassing_interface_info (void); 893s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 893s # 893s # 893s # /* D-Bus method call completion functions: */ 893s # void fdpassing_complete_hello_fd ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # const gchar *response); 893s # 893s # void fdpassing_complete_no_annotation ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GVariant *response, 893s # const gchar *response_locale); 893s # 893s # void fdpassing_complete_no_annotation_nested ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # 893s # 893s # /* D-Bus method calls: */ 893s # void fdpassing_call_hello_fd ( 893s # FDPassing *proxy, 893s # const gchar *arg_greeting, 893s # GUnixFDList *fd_list, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_hello_fd_finish ( 893s # FDPassing *proxy, 893s # gchar **out_response, 893s # GUnixFDList **out_fd_list, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_hello_fd_sync ( 893s # FDPassing *proxy, 893s # const gchar *arg_greeting, 893s # GUnixFDList *fd_list, 893s # gchar **out_response, 893s # GUnixFDList **out_fd_list, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_call_no_annotation ( 893s # FDPassing *proxy, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_no_annotation_finish ( 893s # FDPassing *proxy, 893s # GVariant **out_response, 893s # gchar **out_response_locale, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_no_annotation_sync ( 893s # FDPassing *proxy, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale, 893s # GVariant **out_response, 893s # gchar **out_response_locale, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_call_no_annotation_nested ( 893s # FDPassing *proxy, 893s # GVariant *arg_files, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_no_annotation_nested_finish ( 893s # FDPassing *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_no_annotation_nested_sync ( 893s # FDPassing *proxy, 893s # GVariant *arg_files, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 893s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 893s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 893s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 893s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 893s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 893s # 893s # typedef struct _FDPassingProxy FDPassingProxy; 893s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 893s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 893s # 893s # struct _FDPassingProxy 893s # { 893s # /*< private >*/ 893s # GDBusProxy parent_instance; 893s # FDPassingProxyPrivate *priv; 893s # }; 893s # 893s # struct _FDPassingProxyClass 893s # { 893s # GDBusProxyClass parent_class; 893s # }; 893s # 893s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 893s # #endif 893s # 893s # void fdpassing_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # FDPassing *fdpassing_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # FDPassing *fdpassing_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 893s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 893s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 893s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 893s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 893s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 893s # 893s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 893s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 893s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 893s # 893s # struct _FDPassingSkeleton 893s # { 893s # /*< private >*/ 893s # GDBusInterfaceSkeleton parent_instance; 893s # FDPassingSkeletonPrivate *priv; 893s # }; 893s # 893s # struct _FDPassingSkeletonClass 893s # { 893s # GDBusInterfaceSkeletonClass parent_class; 893s # }; 893s # 893s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 893s # #endif 893s # 893s # FDPassing *fdpassing_skeleton_new (void); 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s # /tmp/tmpirj_6f5x/tmpbiyd3wdq.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpirj_6f5x/tmpbiyd3wdq.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # /* Declarations for FDPassing */ 893s # 893s # #define TYPE_FDPASSING (fdpassing_get_type ()) 893s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 893s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 893s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 893s # 893s # struct _FDPassing; 893s # typedef struct _FDPassing FDPassing; 893s # typedef struct _FDPassingIface FDPassingIface; 893s # 893s # struct _FDPassingIface 893s # { 893s # GTypeInterface parent_iface; 893s # 893s # gboolean (*handle_hello_fd) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # const gchar *arg_greeting); 893s # 893s # gboolean (*handle_no_annotation) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale); 893s # 893s # gboolean (*handle_no_annotation_nested) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GVariant *arg_files); 893s # 893s # }; 893s # 893s # GType fdpassing_get_type (void) G_GNUC_CONST; 893s # 893s # GDBusInterfaceInfo *fdpassing_interface_info (void); 893s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 893s # 893s # 893s # /* D-Bus method call completion functions: */ 893s # void fdpassing_complete_hello_fd ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # const gchar *response); 893s # 893s # void fdpassing_complete_no_annotation ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GVariant *response, 893s # const gchar *response_locale); 893s # 893s # void fdpassing_complete_no_annotation_nested ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation); 893s # 893s # 893s # 893s # /* D-Bus method calls: */ 893s # void fdpassing_call_hello_fd ( 893s # FDPassing *proxy, 893s # const gchar *arg_greeting, 893s # GUnixFDList *fd_list, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_hello_fd_finish ( 893s # FDPassing *proxy, 893s # gchar **out_response, 893s # GUnixFDList **out_fd_list, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_hello_fd_sync ( 893s # FDPassing *proxy, 893s # const gchar *arg_greeting, 893s # GUnixFDList *fd_list, 893s # gchar **out_response, 893s # GUnixFDList **out_fd_list, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_call_no_annotation ( 893s # FDPassing *proxy, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_no_annotation_finish ( 893s # FDPassing *proxy, 893s # GVariant **out_response, 893s # gchar **out_response_locale, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_no_annotation_sync ( 893s # FDPassing *proxy, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale, 893s # GVariant **out_response, 893s # gchar **out_response_locale, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_call_no_annotation_nested ( 893s # FDPassing *proxy, 893s # GVariant *arg_files, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_no_annotation_nested_finish ( 893s # FDPassing *proxy, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_no_annotation_nested_sync ( 893s # FDPassing *proxy, 893s # GVariant *arg_files, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 893s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 893s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 893s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 893s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 893s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 893s # 893s # typedef struct _FDPassingProxy FDPassingProxy; 893s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 893s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 893s # 893s # struct _FDPassingProxy 893s # { 893s # /*< private >*/ 893s # GDBusProxy parent_instance; 893s # FDPassingProxyPrivate *priv; 893s # }; 893s # 893s # struct _FDPassingProxyClass 893s # { 893s # GDBusProxyClass parent_class; 893s # }; 893s # 893s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 893s # #endif 893s # 893s # void fdpassing_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # FDPassing *fdpassing_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # FDPassing *fdpassing_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 893s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 893s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 893s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 893s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 893s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 893s # 893s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 893s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 893s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 893s # 893s # struct _FDPassingSkeleton 893s # { 893s # /*< private >*/ 893s # GDBusInterfaceSkeleton parent_instance; 893s # FDPassingSkeletonPrivate *priv; 893s # }; 893s # 893s # struct _FDPassingSkeletonClass 893s # { 893s # GDBusInterfaceSkeletonClass parent_class; 893s # }; 893s # 893s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 893s # #endif 893s # 893s # FDPassing *fdpassing_skeleton_new (void); 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s # /tmp/tmpirj_6f5x/tmp01y56oj_.xml: 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # 893s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpirj_6f5x/tmp01y56oj_.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 893s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JtpbqdpMTV,guid=b49a1ccd55228fd8c15462cf65fb2a6c', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.QpPIpa/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.CxBmFReTpA', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.CRubop/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.QpPIpa/wrapper.sh --artifacts=/tmp/autopkgtest.QpPIpa/installed-tests-artifacts --chdir=/tmp/autopkgtest.QpPIpa/build.bGY/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.QpPIpa/installed-tests-stderr --stdout=/tmp/autopkgtest.QpPIpa/installed-tests-stdout --tmp=/tmp/autopkgtest.QpPIpa/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests -- /tmp/autopkgtest.QpPIpa/build.bGY/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.QpPIpa/build.bGY/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.QpPIpa/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 893s # Output: /* 893s # * This file is generated by gdbus-codegen, do not modify it. 893s # * 893s # * The license of this code is the same as for the D-Bus interface description 893s # * it was derived from. Note that it links to GLib, so must comply with the 893s # * LGPL linking clauses. 893s # */ 893s # 893s # #ifndef __STDOUT__ 893s # #define __STDOUT__ 893s # 893s # #include 893s # 893s # G_BEGIN_DECLS 893s # 893s # 893s # /* ------------------------------------------------------------------------ */ 893s # /* Declarations for FDPassing */ 893s # 893s # #define TYPE_FDPASSING (fdpassing_get_type ()) 893s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 893s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 893s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 893s # 893s # struct _FDPassing; 893s # typedef struct _FDPassing FDPassing; 893s # typedef struct _FDPassingIface FDPassingIface; 893s # 893s # struct _FDPassingIface 893s # { 893s # GTypeInterface parent_iface; 893s # 893s # gboolean (*handle_hello_fd) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # const gchar *arg_greeting); 893s # 893s # gboolean (*handle_no_annotation) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale); 893s # 893s # gboolean (*handle_no_annotation_nested) ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # GVariant *arg_files); 893s # 893s # }; 893s # 893s # GType fdpassing_get_type (void) G_GNUC_CONST; 893s # 893s # GDBusInterfaceInfo *fdpassing_interface_info (void); 893s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 893s # 893s # 893s # /* D-Bus method call completion functions: */ 893s # void fdpassing_complete_hello_fd ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # const gchar *response); 893s # 893s # void fdpassing_complete_no_annotation ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list, 893s # GVariant *response, 893s # const gchar *response_locale); 893s # 893s # void fdpassing_complete_no_annotation_nested ( 893s # FDPassing *object, 893s # GDBusMethodInvocation *invocation, 893s # GUnixFDList *fd_list); 893s # 893s # 893s # 893s # /* D-Bus method calls: */ 893s # void fdpassing_call_hello_fd ( 893s # FDPassing *proxy, 893s # const gchar *arg_greeting, 893s # GDBusCallFlags call_flags, 893s # gint timeout_msec, 893s # GUnixFDList *fd_list, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_hello_fd_finish ( 893s # FDPassing *proxy, 893s # gchar **out_response, 893s # GUnixFDList **out_fd_list, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_hello_fd_sync ( 893s # FDPassing *proxy, 893s # const gchar *arg_greeting, 893s # GDBusCallFlags call_flags, 893s # gint timeout_msec, 893s # GUnixFDList *fd_list, 893s # gchar **out_response, 893s # GUnixFDList **out_fd_list, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_call_no_annotation ( 893s # FDPassing *proxy, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale, 893s # GDBusCallFlags call_flags, 893s # gint timeout_msec, 893s # GUnixFDList *fd_list, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_no_annotation_finish ( 893s # FDPassing *proxy, 893s # GVariant **out_response, 893s # gchar **out_response_locale, 893s # GUnixFDList **out_fd_list, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_no_annotation_sync ( 893s # FDPassing *proxy, 893s # GVariant *arg_greeting, 893s # const gchar *arg_greeting_locale, 893s # GDBusCallFlags call_flags, 893s # gint timeout_msec, 893s # GUnixFDList *fd_list, 893s # GVariant **out_response, 893s # gchar **out_response_locale, 893s # GUnixFDList **out_fd_list, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_call_no_annotation_nested ( 893s # FDPassing *proxy, 893s # GVariant *arg_files, 893s # GDBusCallFlags call_flags, 893s # gint timeout_msec, 893s # GUnixFDList *fd_list, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # 893s # gboolean fdpassing_call_no_annotation_nested_finish ( 893s # FDPassing *proxy, 893s # GUnixFDList **out_fd_list, 893s # GAsyncResult *res, 893s # GError **error); 893s # 893s # gboolean fdpassing_call_no_annotation_nested_sync ( 893s # FDPassing *proxy, 893s # GVariant *arg_files, 893s # GDBusCallFlags call_flags, 893s # gint timeout_msec, 893s # GUnixFDList *fd_list, 893s # GUnixFDList **out_fd_list, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 893s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 893s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 893s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 893s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 893s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 893s # 893s # typedef struct _FDPassingProxy FDPassingProxy; 893s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 893s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 893s # 893s # struct _FDPassingProxy 893s # { 893s # /*< private >*/ 893s # GDBusProxy parent_instance; 893s # FDPassingProxyPrivate *priv; 893s # }; 893s # 893s # struct _FDPassingProxyClass 893s # { 893s # GDBusProxyClass parent_class; 893s # }; 893s # 893s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 893s # #endif 893s # 893s # void fdpassing_proxy_new ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # FDPassing *fdpassing_proxy_new_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # FDPassing *fdpassing_proxy_new_sync ( 893s # GDBusConnection *connection, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # void fdpassing_proxy_new_for_bus ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GAsyncReadyCallback callback, 893s # gpointer user_data); 893s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 893s # GAsyncResult *res, 893s # GError **error); 893s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 893s # GBusType bus_type, 893s # GDBusProxyFlags flags, 893s # const gchar *name, 893s # const gchar *object_path, 893s # GCancellable *cancellable, 893s # GError **error); 893s # 893s # 893s # /* ---- */ 893s # 893s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 893s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 893s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 893s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 893s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 893s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 893s # 893s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 893s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 893s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 893s # 893s # struct _FDPassingSkeleton 893s # { 893s # /*< private >*/ 893s # GDBusInterfaceSkeleton parent_instance; 893s # FDPassingSkeletonPrivate *priv; 893s # }; 893s # 893s # struct _FDPassingSkeletonClass 893s # { 893s # GDBusInterfaceSkeletonClass parent_class; 893s # }; 893s # 893s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 893s # 893s # #if GLIB_CHECK_VERSION(2, 44, 0) 893s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 893s # #endif 893s # 893s # FDPassing *fdpassing_skeleton_new (void); 893s # 893s # 893s # G_END_DECLS 893s # 893s # #endif /* __STDOUT__ */ 893s 1..39 893s ok - glib/codegen.py.test 893s # Running test: glib/string.test 893s TAP version 13 893s # random seed: R02S16aedf80d1d25c9281ebdcb7af9fa3df 893s 1..23 893s # Start of string tests 893s ok 1 /string/test-string-chunks 893s ok 2 /string/test-string-chunk-insert 893s ok 3 /string/test-string-new 893s ok 4 /string/test-string-printf 893s ok 5 /string/test-string-assign 893s ok 6 /string/test-string-append-c 893s ok 7 /string/test-string-append 893s ok 8 /string/test-string-append-vprintf 893s ok 9 /string/test-string-prepend-c 893s ok 10 /string/test-string-prepend 893s ok 11 /string/test-string-insert 893s ok 12 /string/test-string-insert-unichar 893s ok 13 /string/test-string-equal 893s ok 14 /string/test-string-truncate 893s ok 15 /string/test-string-overwrite 893s ok 16 /string/test-string-nul-handling 893s ok 17 /string/test-string-up-down 893s ok 18 /string/test-string-set-size 893s ok 19 /string/test-string-to-bytes 893s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 893s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 893s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 893s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 893s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 893s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 893s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 893s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 893s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 893s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 893s # 5: Replacing "o" with "" (limit 0) in "food for foals" 893s # -> 4 replacements, "fd fr fals" 893s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 893s # -> 3 replacements, "aaaaaaaaa" 893s # 7: Replacing "a" with "" (limit 0) in "aaa" 893s # -> 3 replacements, "" 893s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 893s # -> 1 replacements, "bba" 893s # 9: Replacing "" with "bar" (limit 0) in "foo" 893s # -> 4 replacements, "barfbarobarobar" 893s # 10: Replacing "" with "x" (limit 0) in "" 893s # -> 1 replacements, "x" 893s # 11: Replacing "" with "" (limit 0) in "" 893s # -> 1 replacements, "" 893s ok 20 /string/test-string-replace 893s ok 21 /string/test-string-steal 893s ok 22 /string/test-string-new-take 893s # Start of test-string-new-take tests 893s ok 23 /string/test-string-new-take/null 893s # End of test-string-new-take tests 893s # End of string tests 893s ok - glib/string.test 893s # Running test: glib/power-profile-monitor-portal.test 894s TAP version 13 894s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 894s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 894s 1..2 894s ok - glib/power-profile-monitor-portal.test 894s # Running test: glib/power-profile-monitor-dbus.test 894s TAP version 13 894s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 894s 1..1 894s ok - glib/power-profile-monitor-dbus.test 894s # Running test: glib/vfs.test 894s TAP version 13 894s # random seed: R02S7b632389494bf80c548f1d23f111e9d4 894s 1..3 894s # Start of gvfs tests 894s ok 1 /gvfs/local 894s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 894s ok 2 /gvfs/register-scheme 894s # Start of resource tests 894s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 894s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 894s ok 3 /gvfs/resource/malformed-escaping 894s # End of resource tests 894s # End of gvfs tests 894s ok - glib/vfs.test 894s # Running test: glib/bookmarkfile.test 894s TAP version 13 894s # random seed: R02Sc54bbfff732aa91e314768eb7361b79f 894s 1..96 894s # Start of bookmarks tests 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/load-from-data-dirs/.dirs/runtime 894s ok 1 /bookmarks/load-from-data-dirs 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/to-file/.dirs/runtime 894s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_A0SPK2/bookmarkfile-test-17WPK2.xbel 894s # Roundtrip from a valid bookmark file 894s ok 2 /bookmarks/to-file 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/move-item/.dirs/runtime 894s ok 3 /bookmarks/move-item 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/corner-cases/.dirs/runtime 894s ok 4 /bookmarks/corner-cases 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/misc/.dirs/runtime 894s ok 5 /bookmarks/misc 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/deprecated/.dirs/runtime 894s ok 6 /bookmarks/deprecated 894s # Start of parse tests 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 894s ok 7 /bookmarks/parse/fail-16.xbel 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 894s ok 8 /bookmarks/parse/fail-42.xbel 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 894s ok 9 /bookmarks/parse/fail-10.xbel 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 894s ok 10 /bookmarks/parse/fail-01.xbel 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 894s ok 11 /bookmarks/parse/fail-22.xbel 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 894s ok 12 /bookmarks/parse/valid-03.xbel 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/home 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/cache 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/config 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/data 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/state 894s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 894s ok 13 /bookmarks/parse/fail-30.xbel 894s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 895s ok 14 /bookmarks/parse/fail-21.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 895s ok 15 /bookmarks/parse/fail-05.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 895s ok 16 /bookmarks/parse/fail-27.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 895s ok 17 /bookmarks/parse/fail-34.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 895s ok 18 /bookmarks/parse/fail-09.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 895s ok 19 /bookmarks/parse/fail-29.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 895s ok 20 /bookmarks/parse/fail-23.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 895s ok 21 /bookmarks/parse/fail-35.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 895s ok 22 /bookmarks/parse/fail-31.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 895s ok 23 /bookmarks/parse/fail-17.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 895s ok 24 /bookmarks/parse/fail-33.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 895s ok 25 /bookmarks/parse/fail-08.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 895s ok 26 /bookmarks/parse/fail-02.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 895s ok 27 /bookmarks/parse/fail-38.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 895s ok 28 /bookmarks/parse/valid-02.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 895s ok 29 /bookmarks/parse/fail-19.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 895s ok 30 /bookmarks/parse/fail-11.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 895s ok 31 /bookmarks/parse/fail-37.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 895s ok 32 /bookmarks/parse/fail-07.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 895s ok 33 /bookmarks/parse/fail-24.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 895s ok 34 /bookmarks/parse/fail-03.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 895s ok 35 /bookmarks/parse/fail-14.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 895s ok 36 /bookmarks/parse/fail-26.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 895s ok 37 /bookmarks/parse/fail-41.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 895s ok 38 /bookmarks/parse/fail-25.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 895s ok 39 /bookmarks/parse/fail-39.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 895s ok 40 /bookmarks/parse/fail-15.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 895s ok 41 /bookmarks/parse/fail-06.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 895s ok 42 /bookmarks/parse/fail-18.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 895s ok 43 /bookmarks/parse/valid-01.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 895s ok 44 /bookmarks/parse/fail-40.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 895s ok 45 /bookmarks/parse/fail-20.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 895s ok 46 /bookmarks/parse/fail-28.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 895s ok 47 /bookmarks/parse/fail-13.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 895s ok 48 /bookmarks/parse/fail-36.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 895s ok 49 /bookmarks/parse/fail-12.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 895s ok 50 /bookmarks/parse/fail-04.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 895s ok 51 /bookmarks/parse/fail-32.xbel 895s # End of parse tests 895s # Start of copy tests 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 895s ok 52 /bookmarks/copy/fail-16.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 895s ok 53 /bookmarks/copy/fail-42.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 895s ok 54 /bookmarks/copy/fail-10.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 895s ok 55 /bookmarks/copy/fail-01.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 895s ok 56 /bookmarks/copy/fail-22.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 895s ok 57 /bookmarks/copy/valid-03.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 895s ok 58 /bookmarks/copy/fail-30.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 895s ok 59 /bookmarks/copy/fail-21.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 895s ok 60 /bookmarks/copy/fail-05.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 895s ok 61 /bookmarks/copy/fail-27.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 895s ok 62 /bookmarks/copy/fail-34.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 895s ok 63 /bookmarks/copy/fail-09.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 895s ok 64 /bookmarks/copy/fail-29.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 895s ok 65 /bookmarks/copy/fail-23.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 895s ok 66 /bookmarks/copy/fail-35.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 895s ok 67 /bookmarks/copy/fail-31.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 895s ok 68 /bookmarks/copy/fail-17.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 895s ok 69 /bookmarks/copy/fail-33.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 895s ok 70 /bookmarks/copy/fail-08.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 895s ok 71 /bookmarks/copy/fail-02.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 895s ok 72 /bookmarks/copy/fail-38.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 895s ok 73 /bookmarks/copy/valid-02.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 895s ok 74 /bookmarks/copy/fail-19.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 895s ok 75 /bookmarks/copy/fail-11.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 895s ok 76 /bookmarks/copy/fail-37.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 895s ok 77 /bookmarks/copy/fail-07.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 895s ok 78 /bookmarks/copy/fail-24.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 895s ok 79 /bookmarks/copy/fail-03.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 895s ok 80 /bookmarks/copy/fail-14.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 895s ok 81 /bookmarks/copy/fail-26.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 895s ok 82 /bookmarks/copy/fail-41.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 895s ok 83 /bookmarks/copy/fail-25.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 895s ok 84 /bookmarks/copy/fail-39.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 895s ok 85 /bookmarks/copy/fail-15.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 895s ok 86 /bookmarks/copy/fail-06.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 895s ok 87 /bookmarks/copy/fail-18.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 895s ok 88 /bookmarks/copy/valid-01.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 895s ok 89 /bookmarks/copy/fail-40.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 895s ok 90 /bookmarks/copy/fail-20.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 895s ok 91 /bookmarks/copy/fail-28.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 895s ok 92 /bookmarks/copy/fail-13.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 895s ok 93 /bookmarks/copy/fail-36.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 895s ok 94 /bookmarks/copy/fail-12.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 895s ok 95 /bookmarks/copy/fail-04.xbel 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_A0SPK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 895s ok 96 /bookmarks/copy/fail-32.xbel 895s # End of copy tests 895s # End of bookmarks tests 895s ok - glib/bookmarkfile.test 895s # Running test: glib/hmac.test 895s TAP version 13 895s # random seed: R02S16a4a4d3901df29fe5e4ce16ef3ffa76 895s 1..37 895s # Start of hmac tests 895s ok 1 /hmac/sha1-1 895s ok 2 /hmac/sha1-2 895s ok 3 /hmac/sha1-3 895s ok 4 /hmac/sha1-4 895s ok 5 /hmac/sha1-5 895s ok 6 /hmac/sha1-6 895s ok 7 /hmac/sha1-7 895s ok 8 /hmac/sha256-1 895s ok 9 /hmac/sha256-2 895s ok 10 /hmac/sha256-3 895s ok 11 /hmac/sha256-4 895s ok 12 /hmac/sha256-5 895s ok 13 /hmac/sha256-6 895s ok 14 /hmac/sha384-1 895s ok 15 /hmac/sha384-2 895s ok 16 /hmac/sha384-3 895s ok 17 /hmac/sha384-4 895s ok 18 /hmac/sha384-5 895s ok 19 /hmac/sha384-6 895s ok 20 /hmac/sha512-1 895s ok 21 /hmac/sha512-2 895s ok 22 /hmac/sha512-3 895s ok 23 /hmac/sha512-4 895s ok 24 /hmac/sha512-5 895s ok 25 /hmac/sha512-6 895s ok 26 /hmac/md5-1 895s ok 27 /hmac/md5-2 895s ok 28 /hmac/md5-3 895s ok 29 /hmac/md5-4 895s ok 30 /hmac/md5-5 895s ok 31 /hmac/md5-6 895s ok 32 /hmac/md5-7 895s ok 33 /hmac/ref-unref 895s ok 34 /hmac/copy 895s ok 35 /hmac/for-data 895s ok 36 /hmac/for-string 895s ok 37 /hmac/for-bytes 895s # End of hmac tests 895s ok - glib/hmac.test 895s # Running test: glib/unicode-encoding.test 895s TAP version 13 895s # random seed: R02S41294840bdd8d0c5a4ac2843f5904489 895s 1..1 895s # Start of unicode tests 895s ok 1 /unicode/encoding 895s # End of unicode tests 895s ok - glib/unicode-encoding.test 895s # Running test: glib/testfilemonitor.test 895s TAP version 13 895s # random seed: R02S53b4f02e6dc7f23ff91845060a0ff313 895s 1..8 895s # Start of monitor tests 895s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 895s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 895s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s # Start of file tests 895s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 895s # End of file tests 895s # End of monitor tests 895s ok - glib/testfilemonitor.test 895s # Running test: glib/gdbus-addresses.test 895s TAP version 13 895s # random seed: R02Sc447a761428d6d11753ca33d90880c7b 895s 1..9 895s # Start of gdbus tests 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/empty-address/.dirs/runtime 895s ok 1 /gdbus/empty-address 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/unsupported-address/.dirs/runtime 895s ok 2 /gdbus/unsupported-address 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/address-parsing/.dirs/runtime 895s ok 3 /gdbus/address-parsing 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/unix-address/.dirs/runtime 895s ok 4 /gdbus/unix-address 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/nonce-tcp-address/.dirs/runtime 895s ok 5 /gdbus/nonce-tcp-address 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/tcp-address/.dirs/runtime 895s ok 6 /gdbus/tcp-address 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/autolaunch-address/.dirs/runtime 895s ok 7 /gdbus/autolaunch-address 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/mixed-address/.dirs/runtime 895s ok 8 /gdbus/mixed-address 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_A52XK2/gdbus/escape-address/.dirs/runtime 895s ok 9 /gdbus/escape-address 895s # End of gdbus tests 895s ok - glib/gdbus-addresses.test 895s # Running test: glib/stream-rw_all.test 895s TAP version 13 895s # random seed: R02Sd818ac752019187eaf33f5f555d9621e 895s 1..3 895s # Start of stream tests 895s # Start of read_all_async tests 895s ok 1 /stream/read_all_async/memory 895s # End of read_all_async tests 895s # Start of write_all_async tests 895s ok 2 /stream/write_all_async/memory 895s # End of write_all_async tests 895s # Start of read_write_all_async tests 895s ok 3 /stream/read_write_all_async/pipe 895s # End of read_write_all_async tests 895s # End of stream tests 895s ok - glib/stream-rw_all.test 895s # Running test: glib/gdbus-method-invocation.test 895s TAP version 13 895s # random seed: R02Sc08c8da6d8c6ed85f94037c9267dd9bd 895s 1..1 895s # Start of gdbus tests 895s # Start of method-invocation tests 895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/home 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/cache 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/system-config2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/config 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/system-data2 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/data 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/state 895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_8YEYK2/gdbus/method-invocation/return/.dirs/runtime 895s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # Calling org.freedesktop.DBus.Properties.Get 895s # Calling org.freedesktop.DBus.Properties.Get 895s # Calling org.freedesktop.DBus.Properties.Get 895s # Calling org.freedesktop.DBus.Properties.Set 895s # Calling org.freedesktop.DBus.Properties.GetAll 895s # Calling org.example.Foo.WrongReturnType 895s # Calling org.example.Foo.GetFDs 895s # Calling org.example.Foo.GetFDs 895s # Calling org.example.Foo.ReturnError 895s # Calling org.example.Foo.CloseBeforeReturning 895s ok 1 /gdbus/method-invocation/return 895s # End of method-invocation tests 895s # End of gdbus tests 895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 895s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 895s ok - glib/gdbus-method-invocation.test 895s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=184.6s; system=62.6s; maxrss=146944 895s autopkgtest [18:32:43]: test installed-tests: -----------------------] 897s autopkgtest [18:32:45]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 897s installed-tests PASS 897s autopkgtest [18:32:45]: test closure-refcount: preparing testbed 905s Reading package lists... 905s Building dependency tree... 905s Reading state information... 906s Starting pkgProblemResolver with broken count: 0 906s Starting 2 pkgProblemResolver with broken count: 0 906s Done 908s The following NEW packages will be installed: 908s autopkgtest-satdep 908s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 908s Need to get 0 B/772 B of archives. 908s After this operation, 0 B of additional disk space will be used. 908s Get:1 /tmp/autopkgtest.QpPIpa/4-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 908s Selecting previously unselected package autopkgtest-satdep. 908s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 908s Preparing to unpack .../4-autopkgtest-satdep.deb ... 908s Unpacking autopkgtest-satdep (0) ... 908s Setting up autopkgtest-satdep (0) ... 911s (Reading database ... 75885 files and directories currently installed.) 911s Removing autopkgtest-satdep (0) ... 911s autopkgtest [18:32:59]: test closure-refcount: [----------------------- 912s Running test: glib/closure-refcount.test 912s TAP version 13 912s # random seed: R02S579ae933667816979488415ba8485079 912s 1..1 912s # Start of closure tests 912s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 912s # End of closure tests 912s PASS: glib/closure-refcount.test 912s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2944 912s autopkgtest [18:33:00]: test closure-refcount: -----------------------] 913s closure-refcount PASS 913s autopkgtest [18:33:01]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 913s autopkgtest [18:33:01]: test debugcontroller: preparing testbed 921s Reading package lists... 921s Building dependency tree... 921s Reading state information... 922s Starting pkgProblemResolver with broken count: 0 922s Starting 2 pkgProblemResolver with broken count: 0 922s Done 923s The following NEW packages will be installed: 923s autopkgtest-satdep 923s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 923s Need to get 0 B/772 B of archives. 923s After this operation, 0 B of additional disk space will be used. 923s Get:1 /tmp/autopkgtest.QpPIpa/5-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 924s Selecting previously unselected package autopkgtest-satdep. 924s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 924s Preparing to unpack .../5-autopkgtest-satdep.deb ... 924s Unpacking autopkgtest-satdep (0) ... 924s Setting up autopkgtest-satdep (0) ... 927s (Reading database ... 75885 files and directories currently installed.) 927s Removing autopkgtest-satdep (0) ... 929s autopkgtest [18:33:17]: test debugcontroller: [----------------------- 929s Running test: glib/debugcontroller.test 929s TAP version 13 929s # random seed: R02Sa7b3c0b6f2c52e9c7d6a724db5eb7922 929s 1..3 929s # Start of debug-controller tests 929s # Start of dbus tests 929s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 929s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 929s # GLib-GIO-DEBUG: Debug output enabled 929s # GLib-GIO-DEBUG: Debug output disabled 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s ok 1 /debug-controller/dbus/basic 929s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 929s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s ok 2 /debug-controller/dbus/duplicate 929s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 929s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 929s # GLib-GIO-DEBUG: Debug output enabled 929s # GLib-GIO-DEBUG: Debug output disabled 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 929s ok 3 /debug-controller/dbus/properties 929s # End of dbus tests 929s # End of debug-controller tests 929s PASS: glib/debugcontroller.test 929s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5760 929s autopkgtest [18:33:17]: test debugcontroller: -----------------------] 930s debugcontroller PASS 930s autopkgtest [18:33:18]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 930s autopkgtest [18:33:18]: test gdbus-server-auth: preparing testbed 934s Reading package lists... 935s Building dependency tree... 935s Reading state information... 935s Starting pkgProblemResolver with broken count: 0 935s Starting 2 pkgProblemResolver with broken count: 0 935s Done 941s The following NEW packages will be installed: 941s autopkgtest-satdep 941s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 941s Need to get 0 B/772 B of archives. 941s After this operation, 0 B of additional disk space will be used. 941s Get:1 /tmp/autopkgtest.QpPIpa/6-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 941s Selecting previously unselected package autopkgtest-satdep. 941s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 941s Preparing to unpack .../6-autopkgtest-satdep.deb ... 941s Unpacking autopkgtest-satdep (0) ... 941s Setting up autopkgtest-satdep (0) ... 941s (Reading database ... 75885 files and directories currently installed.) 941s Removing autopkgtest-satdep (0) ... 942s autopkgtest [18:33:29]: test gdbus-server-auth: [----------------------- 942s Running test: glib/gdbus-server-auth.test 942s TAP version 13 942s # random seed: R02Sfb0e25c13a13301b629469c949a2c57c 942s 1..9 942s # Start of gdbus tests 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/.dirs/runtime 942s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-3Y8XK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 942s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-3Y8XK2/dbus-8mBPAHKa 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16276 942s ok 1 /gdbus/server-auth 942s # Start of server-auth tests 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/abstract/.dirs/runtime 942s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-DOUYK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 942s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-DOUYK2/dbus-rtLpmddd 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16276 942s ok 2 /gdbus/server-auth/abstract 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/tcp/.dirs/runtime 942s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 942s # Connectable address: tcp:host=127.0.0.1,port=35123 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 942s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 942s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 942s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 942s ok 3 /gdbus/server-auth/tcp 942s # slow test /gdbus/server-auth/tcp executed in 0.90 secs 942s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/home 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/cache 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/system-config2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/config 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/system-data2 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/data 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/state 942s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/.dirs/runtime 942s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-UKGQK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 942s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-UKGQK2/dbus-YqJIOfo1 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 942s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16276 942s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 942s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 942s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 942s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16276 943s ok 4 /gdbus/server-auth/anonymous 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/.dirs/runtime 943s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-6ONQK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 943s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-6ONQK2/dbus-7XHV0HDA 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16276 943s ok 5 /gdbus/server-auth/external 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/.dirs/runtime 943s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-NZMQK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 943s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-NZMQK2/dbus-WVOm22Mw 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16276 943s ok 6 /gdbus/server-auth/sha1 943s # Start of anonymous tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 943s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 943s # Connectable address: tcp:host=127.0.0.1,port=45383 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 943s ok 7 /gdbus/server-auth/anonymous/tcp 943s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 943s # End of anonymous tests 943s # Start of external tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 943s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-H7YRK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 943s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_968XK2/gdbus-server-auth-H7YRK2/dbus-feMd5jWG 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16276 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 943s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16276,uid=1000,gid=1000 943s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16276 943s ok 8 /gdbus/server-auth/external/require-same-user 943s # End of external tests 943s # Start of sha1 tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_968XK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 943s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 943s # Connectable address: tcp:host=127.0.0.1,port=42867 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 943s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 943s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 943s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 943s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 943s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 944s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 944s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 944s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 944s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 944s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 944s ok 9 /gdbus/server-auth/sha1/tcp 944s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 944s # End of sha1 tests 944s # End of server-auth tests 944s # End of gdbus tests 944s PASS: glib/gdbus-server-auth.test 944s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8448 945s autopkgtest [18:33:33]: test gdbus-server-auth: -----------------------] 945s autopkgtest [18:33:33]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 945s gdbus-server-auth PASS 946s autopkgtest [18:33:34]: test gdbus-threading: preparing testbed 952s Reading package lists... 953s Building dependency tree... 953s Reading state information... 953s Starting pkgProblemResolver with broken count: 0 953s Starting 2 pkgProblemResolver with broken count: 0 953s Done 954s The following NEW packages will be installed: 954s autopkgtest-satdep 954s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 954s Need to get 0 B/772 B of archives. 954s After this operation, 0 B of additional disk space will be used. 954s Get:1 /tmp/autopkgtest.QpPIpa/7-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 955s Selecting previously unselected package autopkgtest-satdep. 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 ... 75885 files and directories currently installed.) 955s Preparing to unpack .../7-autopkgtest-satdep.deb ... 955s Unpacking autopkgtest-satdep (0) ... 955s Setting up autopkgtest-satdep (0) ... 958s (Reading database ... 75885 files and directories currently installed.) 958s Removing autopkgtest-satdep (0) ... 958s autopkgtest [18:33:46]: test gdbus-threading: [----------------------- 959s Running test: glib/gdbus-threading.test 959s TAP version 13 959s # random seed: R02Sb4982c05f8b6a2dc6b660bf720174f3f 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s 1..3 959s # Start of gdbus tests 959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/home 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/cache 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/system-config2 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/config 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/system-data2 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/data 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/state 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GV2NK2/gdbus/delivery-in-thread/.dirs/runtime 959s ok 1 /gdbus/delivery-in-thread 959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/home 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/cache 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/system-config2 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/config 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/system-data2 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/data 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/state 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GV2NK2/gdbus/method-calls-in-thread/.dirs/runtime 959s ok 2 /gdbus/method-calls-in-thread 959s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/home 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/cache 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/system-config2 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/config 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/system-data2 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/data 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/state 959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GV2NK2/gdbus/threaded-singleton/.dirs/runtime 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: refcount of 0xe7dacc007280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: refcount of 0xe7dacc007280 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 960s ok 3 /gdbus/threaded-singleton 960s # slow test /gdbus/threaded-singleton executed in 0.88 secs 960s # End of gdbus tests 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 960s PASS: glib/gdbus-threading.test 960s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=5632 961s autopkgtest [18:33:49]: test gdbus-threading: -----------------------] 961s autopkgtest [18:33:49]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 961s gdbus-threading PASS 961s autopkgtest [18:33:49]: test gmenumodel: preparing testbed 971s Reading package lists... 971s Building dependency tree... 971s Reading state information... 971s Starting pkgProblemResolver with broken count: 0 971s Starting 2 pkgProblemResolver with broken count: 0 972s Done 972s The following NEW packages will be installed: 972s autopkgtest-satdep 972s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 972s Need to get 0 B/776 B of archives. 972s After this operation, 0 B of additional disk space will be used. 972s Get:1 /tmp/autopkgtest.QpPIpa/8-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 973s Selecting previously unselected package autopkgtest-satdep. 973s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 973s Preparing to unpack .../8-autopkgtest-satdep.deb ... 973s Unpacking autopkgtest-satdep (0) ... 973s Setting up autopkgtest-satdep (0) ... 976s (Reading database ... 75885 files and directories currently installed.) 976s Removing autopkgtest-satdep (0) ... 976s autopkgtest [18:34:04]: test gmenumodel: [----------------------- 977s Running test: glib/gmenumodel.test 977s TAP version 13 977s # random seed: R02S03e713965eda32dbdc6c960ccec324ab 977s 1..14 977s # Start of gmenu tests 977s ok 1 /gmenu/equality 977s # slow test /gmenu/equality executed in 0.54 secs 978s ok 2 /gmenu/random 978s # slow test /gmenu/random executed in 0.61 secs 978s ok 3 /gmenu/attributes 978s ok 4 /gmenu/links 978s ok 5 /gmenu/mutable 978s ok 6 /gmenu/convenience 978s ok 7 /gmenu/menuitem 978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s ok 8 /gmenu/input-validation 978s # Start of dbus tests 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s ok 9 /gmenu/dbus/roundtrip 979s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 979s ok 10 /gmenu/dbus/subscriptions 980s ok 11 /gmenu/dbus/threaded 981s # slow test /gmenu/dbus/threaded executed in 0.79 secs 981s # Start of peer tests 981s ok 12 /gmenu/dbus/peer/roundtrip 981s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 981s Executing: glib/gmenumodel.test 982s ok 13 /gmenu/dbus/peer/subscriptions 982s # End of peer tests 982s # End of dbus tests 982s # Start of attributes tests 982s ok 14 /gmenu/attributes/iterate 982s # End of attributes tests 982s # End of gmenu tests 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s PASS: glib/gmenumodel.test 982s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.6s; system=0.1s; maxrss=31552 982s autopkgtest [18:34:10]: test gmenumodel: -----------------------] 982s autopkgtest [18:34:10]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 982s gmenumodel PASS 983s autopkgtest [18:34:11]: test mainloop: preparing testbed 988s Reading package lists... 989s Building dependency tree... 989s Reading state information... 989s Starting pkgProblemResolver with broken count: 0 989s Starting 2 pkgProblemResolver with broken count: 0 989s Done 990s The following NEW packages will be installed: 990s autopkgtest-satdep 990s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 990s Need to get 0 B/776 B of archives. 990s After this operation, 0 B of additional disk space will be used. 990s Get:1 /tmp/autopkgtest.QpPIpa/9-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 991s Selecting previously unselected package autopkgtest-satdep. 991s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 991s Preparing to unpack .../9-autopkgtest-satdep.deb ... 991s Unpacking autopkgtest-satdep (0) ... 991s Setting up autopkgtest-satdep (0) ... 993s (Reading database ... 75885 files and directories currently installed.) 993s Removing autopkgtest-satdep (0) ... 994s autopkgtest [18:34:22]: test mainloop: [----------------------- 994s Running test: glib/mainloop.test 994s TAP version 13 994s # random seed: R02S5bee4f9719c7e917600d118ec05d623b 994s 1..45 994s # Start of maincontext tests 994s ok 1 /maincontext/basic 994s # Add same-priority sources: 17 994s # Find each source: 3 994s # Remove in random order: 69 994s ok 2 /maincontext/nsources_same_priority 994s # Add different-priority sources: 16 994s # Find each source: 3 995s # Remove in random order: 77 995s ok 3 /maincontext/nsources_different_priority 995s # Add sources from threads: 360 995s # Remove sources from threads: 92 995s ok 4 /maincontext/nsources_threadpool 995s ok 5 /maincontext/source_finalization 995s # /maincontext/idle-once summary: Test g_idle_add_once() works 995s ok 6 /maincontext/idle-once 995s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 995s ok 7 /maincontext/timeout-once 995s # Start of source_finalization_from_source tests 995s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 8 /maincontext/source_finalization_from_source/0 995s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 9 /maincontext/source_finalization_from_source/1 995s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 10 /maincontext/source_finalization_from_source/2 995s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 11 /maincontext/source_finalization_from_source/3 995s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 12 /maincontext/source_finalization_from_source/4 995s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 13 /maincontext/source_finalization_from_source/5 995s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 14 /maincontext/source_finalization_from_source/6 995s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 15 /maincontext/source_finalization_from_source/7 995s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 16 /maincontext/source_finalization_from_source/8 995s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 995s ok 17 /maincontext/source_finalization_from_source/9 995s # End of source_finalization_from_source tests 995s # Start of source_finalization_from_dispatch tests 995s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 995s ok 18 /maincontext/source_finalization_from_dispatch/0 995s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 995s ok 19 /maincontext/source_finalization_from_dispatch/1 995s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 995s ok 20 /maincontext/source_finalization_from_dispatch/2 995s # End of source_finalization_from_dispatch tests 995s # End of maincontext tests 995s # Start of mainloop tests 995s ok 21 /mainloop/basic 995s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 995s ok 23 /mainloop/priorities 996s ok 24 /mainloop/invoke 996s # slow test /mainloop/invoke executed in 0.50 secs 997s ok 25 /mainloop/child_sources 997s # slow test /mainloop/child_sources executed in 1.19 secs 999s ok 26 /mainloop/recursive_child_sources 999s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 999s ok 27 /mainloop/recursive_loop_child_sources 999s ok 28 /mainloop/swapping_child_sources 999s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 999s ok 29 /mainloop/blocked_child_sources 999s Executing: glib/mainloop.test 1000s ok 30 /mainloop/source_time 1000s # slow test /mainloop/source_time executed in 1.00 secs 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1000s ok 31 /mainloop/overflow 1000s ok 32 /mainloop/ready-time 1000s # slow test /mainloop/ready-time executed in 0.50 secs 1000s ok 33 /mainloop/wakeup 1000s ok 34 /mainloop/remove-invalid 1000s ok 35 /mainloop/unref-while-pending 1001s ok 36 /mainloop/unix-fd 1001s # slow test /mainloop/unix-fd executed in 0.53 secs 1001s ok 37 /mainloop/unix-fd-source 1001s ok 38 /mainloop/source-unix-fd-api 1001s ok 39 /mainloop/wait 1001s ok 40 /mainloop/unix-file-poll 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1001s ok 41 /mainloop/unix-fd-priority 1001s ok 42 /mainloop/nfds 1001s ok 43 /mainloop/steal-fd 1001s # Start of ownerless-polling tests 1001s ok 44 /mainloop/ownerless-polling/attach-first 1001s ok 45 /mainloop/ownerless-polling/pop-first 1001s # End of ownerless-polling tests 1001s # End of mainloop tests 1001s PASS: glib/mainloop.test 1001s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.8s; maxrss=14888 1002s autopkgtest [18:34:30]: test mainloop: -----------------------] 1002s autopkgtest [18:34:30]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1002s mainloop PASS 1002s autopkgtest [18:34:30]: test memory-monitor-dbus: preparing testbed 1009s Reading package lists... 1010s Building dependency tree... 1010s Reading state information... 1010s Starting pkgProblemResolver with broken count: 0 1010s Starting 2 pkgProblemResolver with broken count: 0 1010s Done 1011s The following NEW packages will be installed: 1011s autopkgtest-satdep 1011s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 1011s Need to get 0 B/776 B of archives. 1011s After this operation, 0 B of additional disk space will be used. 1011s Get:1 /tmp/autopkgtest.QpPIpa/10-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 1011s Selecting previously unselected package autopkgtest-satdep. 1011s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 1011s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1011s Unpacking autopkgtest-satdep (0) ... 1011s Setting up autopkgtest-satdep (0) ... 1014s (Reading database ... 75885 files and directories currently installed.) 1014s Removing autopkgtest-satdep (0) ... 1015s autopkgtest [18:34:43]: test memory-monitor-dbus: [----------------------- 1015s Running test: glib/memory-monitor-dbus.test 1016s TAP version 13 1016s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1016s # Received memory warning signal, level 1016s # Received memory warning signal, level 1016s # Received memory warning signal, level 1016s 1..1 1016s PASS: glib/memory-monitor-dbus.test 1016s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.0s; maxrss=24860 1016s autopkgtest [18:34:44]: test memory-monitor-dbus: -----------------------] 1016s memory-monitor-dbus PASS 1016s autopkgtest [18:34:44]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1017s autopkgtest [18:34:45]: test socket: preparing testbed 1031s Reading package lists... 1032s Building dependency tree... 1032s Reading state information... 1032s Starting pkgProblemResolver with broken count: 0 1032s Starting 2 pkgProblemResolver with broken count: 0 1032s Done 1033s The following NEW packages will be installed: 1033s autopkgtest-satdep 1033s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 1033s Need to get 0 B/772 B of archives. 1033s After this operation, 0 B of additional disk space will be used. 1033s Get:1 /tmp/autopkgtest.QpPIpa/11-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1033s Selecting previously unselected package autopkgtest-satdep. 1033s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 1033s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1033s Unpacking autopkgtest-satdep (0) ... 1034s Setting up autopkgtest-satdep (0) ... 1036s (Reading database ... 75885 files and directories currently installed.) 1036s Removing autopkgtest-satdep (0) ... 1037s autopkgtest [18:35:05]: test socket: [----------------------- 1037s Running test: glib/socket.test 1037s TAP version 13 1037s # random seed: R02S6634bab8e49b39824c7be5507630917c 1037s 1..28 1037s # Start of socket tests 1038s ok 1 /socket/ipv4_sync 1038s # slow test /socket/ipv4_sync executed in 1.00 secs 1039s ok 2 /socket/ipv4_async 1039s # slow test /socket/ipv4_async executed in 1.00 secs 1039s ok 3 /socket/ipv6_sync 1039s ok 4 /socket/ipv6_async 1039s ok 5 /socket/ipv6_v4mapped 1040s ok 6 /socket/close_graceful 1040s # slow test /socket/close_graceful executed in 1.00 secs 1040s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1040s ok 8 /socket/fd_reuse 1040s ok 9 /socket/address 1040s ok 10 /socket/unix-from-fd 1040s ok 11 /socket/unix-connection 1040s ok 12 /socket/unix-connection-ancillary-data 1040s ok 13 /socket/source-postmortem 1040s ok 14 /socket/read_write 1040s ok 15 /socket/read_writev 1040s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1040s ok 16 /socket/receive_bytes 1040s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1040s ok 17 /socket/receive_bytes_from 1040s # Start of ipv4_sync tests 1040s ok 18 /socket/ipv4_sync/datagram 1040s # Start of datagram tests 1042s ok 19 /socket/ipv4_sync/datagram/timeouts 1042s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1042s # End of datagram tests 1042s # End of ipv4_sync tests 1042s # Start of ipv6_sync tests 1042s ok 20 /socket/ipv6_sync/datagram 1042s # Start of datagram tests 1042s ok 21 /socket/ipv6_sync/datagram/timeouts 1042s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1042s # End of datagram tests 1042s # End of ipv6_sync tests 1042s # Start of reuse tests 1042s ok 22 /socket/reuse/tcp 1042s ok 23 /socket/reuse/udp 1042s # End of reuse tests 1042s # Start of get_available tests 1042s ok 24 /socket/get_available/datagram 1042s ok 25 /socket/get_available/stream 1042s # End of get_available tests 1042s # Start of credentials tests 1042s # Supported on this OS: GCredentials:linux-ucred:pid=0 1042s ok 26 /socket/credentials/tcp_client 1042s # Supported on this OS: GCredentials:linux-ucred:pid=0 1042s ok 27 /socket/credentials/tcp_server 1042s # Supported on this OS: GCredentials:linux-ucred:pid=18626,uid=1000,gid=1000 1042s ok 28 /socket/credentials/unix_socketpair 1042s # End of credentials tests 1042s # End of socket tests 1042s PASS: glib/socket.test 1042s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4864 1043s autopkgtest [18:35:11]: test socket: -----------------------] 1043s autopkgtest [18:35:11]: test socket: - - - - - - - - - - results - - - - - - - - - - 1043s socket PASS 1044s autopkgtest [18:35:12]: test testfilemonitor: preparing testbed 1047s Reading package lists... 1047s Building dependency tree... 1047s Reading state information... 1048s Starting pkgProblemResolver with broken count: 0 1048s Starting 2 pkgProblemResolver with broken count: 0 1048s Done 1048s The following NEW packages will be installed: 1048s autopkgtest-satdep 1048s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 1048s Need to get 0 B/772 B of archives. 1048s After this operation, 0 B of additional disk space will be used. 1048s Get:1 /tmp/autopkgtest.QpPIpa/12-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1049s Selecting previously unselected package autopkgtest-satdep. 1049s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 1049s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1049s Unpacking autopkgtest-satdep (0) ... 1049s Setting up autopkgtest-satdep (0) ... 1052s (Reading database ... 75885 files and directories currently installed.) 1052s Removing autopkgtest-satdep (0) ... 1053s autopkgtest [18:35:21]: test testfilemonitor: [----------------------- 1053s Running test: glib/testfilemonitor.test 1053s TAP version 13 1053s # random seed: R02S941bc17698c28ad9bbbb04bf81d7493f 1053s 1..8 1053s # Start of monitor tests 1053s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1053s # Using temporary directory: /tmp/gio-test-testfilemonitor_C3MMK2 1053s # Using GFileMonitor GInotifyFileMonitor 1055s ok 1 /monitor/atomic-replace 1055s # slow test /monitor/atomic-replace executed in 2.00 secs 1055s # Using temporary directory: /tmp/gio-test-testfilemonitor_5VPMK2 1055s # Using GFileMonitor GInotifyFileMonitor 1058s ok 2 /monitor/file-changes 1058s # slow test /monitor/file-changes executed in 2.50 secs 1058s # Using temporary directory: /tmp/gio-test-testfilemonitor_6XLYK2 1058s # Using GFileMonitor GInotifyFileMonitor 1058s Executing: glib/testfilemonitor.test 1061s ok 3 /monitor/dir-monitor 1061s # slow test /monitor/dir-monitor executed in 3.51 secs 1061s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZQ8MK2 1061s # Using GFileMonitor GInotifyFileMonitor 1063s Executing: glib/testfilemonitor.test 1068s Executing: glib/testfilemonitor.test 1073s Executing: glib/testfilemonitor.test 1078s Executing: glib/testfilemonitor.test 1083s Executing: glib/testfilemonitor.test 1086s ok 4 /monitor/dir-not-existent 1086s # slow test /monitor/dir-not-existent executed in 25.02 secs 1086s # Using temporary directory: /tmp/gio-test-testfilemonitor_1UFNK2 1086s # Using GFileMonitor 0 GInotifyFileMonitor 1086s # Using GFileMonitor 1 GInotifyFileMonitor 1088s ok 5 /monitor/cross-dir-moves 1088s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1088s # Using temporary directory: /tmp/gio-test-testfilemonitor_CZUNK2 1088s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1088s ok 6 /monitor/finalize-in-callback 1088s # Using temporary directory: /tmp/gio-test-testfilemonitor_O7YNK2 1088s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1088s ok 7 /monitor/root 1088s # Start of file tests 1088s # Using temporary directory: /tmp/gio-test-testfilemonitor_5MZNK2 1088s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1088s # Running with hard link tests 1088s # Using GFileMonitor GInotifyFileMonitor 1088s Executing: glib/testfilemonitor.test 1092s # Event 0 at expected index 7 skipped because it is marked as optional 1092s # Event 2 at expected index 11 skipped because it is marked as optional 1092s ok 8 /monitor/file/hard-links 1092s # slow test /monitor/file/hard-links executed in 3.51 secs 1092s # End of file tests 1092s # End of monitor tests 1092s PASS: glib/testfilemonitor.test 1092s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5248 1092s autopkgtest [18:36:00]: test testfilemonitor: -----------------------] 1092s testfilemonitor PASS 1092s autopkgtest [18:36:00]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1093s autopkgtest [18:36:01]: test thread-pool-slow: preparing testbed 1098s Reading package lists... 1098s Building dependency tree... 1098s Reading state information... 1099s Starting pkgProblemResolver with broken count: 0 1099s Starting 2 pkgProblemResolver with broken count: 0 1099s Done 1099s The following NEW packages will be installed: 1099s autopkgtest-satdep 1099s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 1099s Need to get 0 B/772 B of archives. 1099s After this operation, 0 B of additional disk space will be used. 1099s Get:1 /tmp/autopkgtest.QpPIpa/13-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1100s Selecting previously unselected package autopkgtest-satdep. 1100s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 1100s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1100s Unpacking autopkgtest-satdep (0) ... 1100s Setting up autopkgtest-satdep (0) ... 1103s (Reading database ... 75885 files and directories currently installed.) 1103s Removing autopkgtest-satdep (0) ... 1104s autopkgtest [18:36:12]: test thread-pool-slow: [----------------------- 1104s Running test: glib/thread-pool-slow.test 1104s TAP version 13 1104s # random seed: R02S02cc621922414a7db926632ca666d88c 1104s 1..7 1104s # Start of threadpool tests 1104s ok 1 /threadpool/functions 1105s ok 2 /threadpool/stop-unused 1105s # slow test /threadpool/stop-unused executed in 0.51 secs 1105s ok 3 /threadpool/pools 1105s # [unsorted] ===> pushed new thread with id:46, number of threads:1, unprocessed:1 1105s # [unsorted] ===> pushed new thread with id:16, number of threads:2, unprocessed:2 1105s # [unsorted] ===> pushed new thread with id:82, number of threads:3, unprocessed:3 1105s # [unsorted] ===> pushed new thread with id:99, number of threads:4, unprocessed:4 1105s # [unsorted] ===> pushed new thread with id:82, number of threads:5, unprocessed:5 1105s # [unsorted] ===> pushed new thread with id:98, number of threads:6, unprocessed:6 1105s # [unsorted] ===> pushed new thread with id:62, number of threads:7, unprocessed:7 1105s # [unsorted] ===> pushed new thread with id:85, number of threads:8, unprocessed:8 1105s # [unsorted] ===> pushed new thread with id:79, number of threads:9, unprocessed:9 1105s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:10 1105s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:11 1105s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:12 1105s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:13 1105s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:14 1105s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:15 1105s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:16 1105s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:17 1105s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:18 1105s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:19 1105s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:20 1105s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:21 1105s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:22 1105s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:23 1105s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:24 1105s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:25 1105s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:26 1105s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:27 1105s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:28 1105s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:29 1105s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:30 1105s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:31 1105s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:32 1105s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:33 1105s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:34 1105s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:35 1105s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:36 1105s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:37 1105s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:38 1105s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:39 1105s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:40 1105s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:41 1105s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:42 1105s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:43 1105s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:44 1105s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:45 1105s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:46 1105s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:47 1105s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:48 1105s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:49 1105s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:50 1105s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:51 1105s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:52 1105s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:53 1105s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:54 1105s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:55 1105s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:56 1105s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:57 1105s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:58 1105s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:59 1105s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:60 1105s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:61 1105s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:62 1105s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:63 1105s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:64 1105s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:65 1105s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:66 1105s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:67 1105s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:58 1105s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:59 1105s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:60 1105s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:61 1105s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:62 1105s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:63 1105s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:64 1105s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:65 1105s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:66 1105s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:67 1105s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:68 1105s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:69 1105s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:70 1105s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:71 1105s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:72 1105s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:73 1105s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:74 1105s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:75 1105s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:76 1105s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:77 1105s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:78 1105s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:79 1105s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:80 1105s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:81 1105s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:82 1105s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:83 1105s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:84 1105s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:85 1105s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:86 1105s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:87 1105s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:88 1105s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:89 1105s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:90 1105s ok 4 /threadpool/no-sort 1105s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:1 1105s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:2 1105s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:3 1105s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:4 1105s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:5 1105s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:6 1105s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:7 1105s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:8 1105s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:9 1105s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:10 1105s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:11 1105s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:12 1105s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:13 1105s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:14 1105s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:15 1105s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:16 1105s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:17 1105s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:18 1105s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:19 1105s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:20 1105s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:21 1105s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:22 1105s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:23 1105s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:24 1105s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:25 1105s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:26 1105s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:27 1105s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:28 1105s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:29 1105s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:30 1105s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:31 1105s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:32 1105s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:33 1105s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:34 1105s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:35 1105s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:36 1105s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:37 1105s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:38 1105s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:39 1105s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:40 1105s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:41 1105s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:42 1105s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:43 1105s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:44 1105s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:45 1105s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:46 1105s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:47 1105s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:48 1105s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:49 1105s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:50 1105s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:51 1105s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:52 1105s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:53 1105s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:54 1105s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:55 1105s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:56 1105s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:57 1105s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:58 1105s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:59 1105s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:60 1105s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:61 1105s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:62 1105s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:63 1105s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:64 1105s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:65 1105s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:66 1105s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:67 1105s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:68 1105s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:69 1105s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:70 1105s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:71 1105s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:72 1105s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:73 1105s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:74 1105s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:75 1105s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:76 1105s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:77 1105s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:78 1105s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:79 1105s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:80 1105s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:81 1105s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:82 1105s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:83 1105s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:84 1105s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:85 1105s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:86 1105s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:87 1105s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:88 1105s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:89 1105s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:90 1105s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:91 1105s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:92 1105s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:93 1105s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:94 1105s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:95 1105s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:96 1105s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:97 1105s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:98 1105s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:99 1105s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:100 1105s # Starting thread pool processing 1105s ok 5 /threadpool/sort 1105s ok 6 /threadpool/stop-unused-multiple 1105s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1105s # Pool idle thread count: 0, unprocessed jobs: 40 1106s # Pool idle thread count: 0, unprocessed jobs: 0 1106s # Pool idle thread count: 0, unprocessed jobs: 0 1106s # Pool idle thread count: 10, unprocessed jobs: 0 1106s # Pool idle thread count: 10, unprocessed jobs: 0 1107s # Pool idle thread count: 10, unprocessed jobs: 0 1107s # Pool idle thread count: 10, unprocessed jobs: 0 1107s # Pool idle thread count: 10, unprocessed jobs: 0 1107s # Pool idle thread count: 10, unprocessed jobs: 0 1108s # Pool idle thread count: 10, unprocessed jobs: 0 1108s # Pool idle thread count: 10, unprocessed jobs: 0 1108s # Pool idle thread count: 10, unprocessed jobs: 0 1108s # Pool idle thread count: 10, unprocessed jobs: 0 1109s # Pool idle thread count: 10, unprocessed jobs: 0 1109s # Pool idle thread count: 10, unprocessed jobs: 0 1109s # Pool idle thread count: 10, unprocessed jobs: 0 1109s # Pool idle thread count: 10, unprocessed jobs: 0 1109s Executing: glib/thread-pool-slow.test 1110s # Pool idle thread count: 10, unprocessed jobs: 0 1110s # Pool idle thread count: 10, unprocessed jobs: 0 1110s # Pool idle thread count: 10, unprocessed jobs: 0 1110s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1114s # Pool idle thread count: 10, unprocessed jobs: 0 1114s # Pool idle thread count: 10, unprocessed jobs: 0 1114s # Pool idle thread count: 10, unprocessed jobs: 2 1114s # Pool idle thread count: 10, unprocessed jobs: 2 1114s # Pool idle thread count: 8, unprocessed jobs: 0 1114s # Pool idle thread count: 8, unprocessed jobs: 0 1114s Executing: glib/thread-pool-slow.test 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1116s # Pool idle thread count: 10, unprocessed jobs: 0 1116s # Pool idle thread count: 10, unprocessed jobs: 0 1116s # Pool idle thread count: 2, unprocessed jobs: 0 1116s # Pool idle thread count: 2, unprocessed jobs: 0 1117s # Pool idle thread count: 2, unprocessed jobs: 0 1117s # Pool idle thread count: 2, unprocessed jobs: 0 1117s # Pool idle thread count: 2, unprocessed jobs: 0 1117s # Pool idle thread count: 2, unprocessed jobs: 0 1118s # Pool idle thread count: 2, unprocessed jobs: 0 1118s # Pool idle thread count: 2, unprocessed jobs: 0 1118s # Pool idle thread count: 2, unprocessed jobs: 0 1118s # Pool idle thread count: 2, unprocessed jobs: 0 1119s # Pool idle thread count: 2, unprocessed jobs: 0 1119s # Pool idle thread count: 2, unprocessed jobs: 0 1119s # Pool idle thread count: 2, unprocessed jobs: 0 1119s # Pool idle thread count: 2, unprocessed jobs: 0 1119s Executing: glib/thread-pool-slow.test 1120s # Pool idle thread count: 2, unprocessed jobs: 0 1120s # Pool idle thread count: 2, unprocessed jobs: 0 1120s # Pool idle thread count: 2, unprocessed jobs: 0 1120s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1124s Executing: glib/thread-pool-slow.test 1125s ok 7 /threadpool/idle-time 1125s # slow test /threadpool/idle-time executed in 19.54 secs 1125s # End of threadpool tests 1125s PASS: glib/thread-pool-slow.test 1125s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3456 1125s autopkgtest [18:36:33]: test thread-pool-slow: -----------------------] 1126s autopkgtest [18:36:34]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1126s thread-pool-slow PASS 1126s autopkgtest [18:36:34]: test threadtests: preparing testbed 1133s Reading package lists... 1134s Building dependency tree... 1134s Reading state information... 1134s Starting pkgProblemResolver with broken count: 0 1134s Starting 2 pkgProblemResolver with broken count: 0 1134s Done 1135s The following NEW packages will be installed: 1135s autopkgtest-satdep 1135s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 1135s Need to get 0 B/772 B of archives. 1135s After this operation, 0 B of additional disk space will be used. 1135s Get:1 /tmp/autopkgtest.QpPIpa/14-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1135s Selecting previously unselected package autopkgtest-satdep. 1135s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 1135s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1135s Unpacking autopkgtest-satdep (0) ... 1135s Setting up autopkgtest-satdep (0) ... 1138s (Reading database ... 75885 files and directories currently installed.) 1138s Removing autopkgtest-satdep (0) ... 1138s autopkgtest [18:36:46]: test threadtests: [----------------------- 1139s Running test: glib/threadtests.test 1139s TAP version 13 1139s # random seed: R02Sfef47502443bd541cd2d5caecbd70e6e 1139s 1..5 1139s # Start of GObject tests 1139s ok 1 /GObject/threaded-object-init 1139s ok 2 /GObject/threaded-weak-ref 1139s # slow test /GObject/threaded-weak-ref executed in 0.64 secs 1139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1139s # /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 1139s ok 3 /GObject/threaded-toggle-notify 1139s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1139s # Start of threaded-weak-ref tests 1139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1139s # /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. 1139s ok 5 /GObject/threaded-weak-ref/on-finalization 1139s # End of threaded-weak-ref tests 1139s # End of GObject tests 1139s PASS: glib/threadtests.test 1139s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.4s; maxrss=3072 1140s autopkgtest [18:36:48]: test threadtests: -----------------------] 1140s autopkgtest [18:36:48]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1140s threadtests PASS 1141s autopkgtest [18:36:49]: test timeout: preparing testbed 1144s Reading package lists... 1144s Building dependency tree... 1144s Reading state information... 1145s Starting pkgProblemResolver with broken count: 0 1145s Starting 2 pkgProblemResolver with broken count: 0 1145s Done 1146s The following NEW packages will be installed: 1146s autopkgtest-satdep 1146s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 1146s Need to get 0 B/772 B of archives. 1146s After this operation, 0 B of additional disk space will be used. 1146s Get:1 /tmp/autopkgtest.QpPIpa/15-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1146s Selecting previously unselected package autopkgtest-satdep. 1146s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 1146s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1146s Unpacking autopkgtest-satdep (0) ... 1146s Setting up autopkgtest-satdep (0) ... 1149s (Reading database ... 75885 files and directories currently installed.) 1149s Removing autopkgtest-satdep (0) ... 1150s autopkgtest [18:36:58]: test timeout: [----------------------- 1150s Running test: glib/timeout.test 1150s TAP version 13 1150s # random seed: R02S29c8c44777b3193a5d238faefeeb1336 1150s 1..5 1150s # Start of timeout tests 1150s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1152s ok 1 /timeout/seconds 1152s # slow test /timeout/seconds executed in 2.10 secs 1154s ok 2 /timeout/seconds-once 1154s # slow test /timeout/seconds-once executed in 2.10 secs 1154s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1155s Executing: glib/timeout.test 1156s ok 3 /timeout/weeks-overflow 1156s # slow test /timeout/weeks-overflow executed in 2.10 secs 1156s ok 4 /timeout/far-future-ready-time 1160s Executing: glib/timeout.test 1165s Executing: glib/timeout.test 1168s ok 5 /timeout/rounding 1168s # slow test /timeout/rounding executed in 10.35 secs 1168s # End of timeout tests 1168s autopkgtest [18:37:15]: test timeout: -----------------------] 1168s PASS: glib/timeout.test 1168s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 1168s timeout PASS 1168s autopkgtest [18:37:15]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1168s autopkgtest [18:37:16]: test timer: preparing testbed 1174s Reading package lists... 1174s Building dependency tree... 1174s Reading state information... 1174s Starting pkgProblemResolver with broken count: 0 1174s Starting 2 pkgProblemResolver with broken count: 0 1174s Done 1175s The following NEW packages will be installed: 1175s autopkgtest-satdep 1175s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 1175s Need to get 0 B/772 B of archives. 1175s After this operation, 0 B of additional disk space will be used. 1175s Get:1 /tmp/autopkgtest.QpPIpa/16-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 1175s Selecting previously unselected package autopkgtest-satdep. 1175s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75885 files and directories currently installed.) 1175s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1175s Unpacking autopkgtest-satdep (0) ... 1175s Setting up autopkgtest-satdep (0) ... 1178s (Reading database ... 75885 files and directories currently installed.) 1178s Removing autopkgtest-satdep (0) ... 1179s autopkgtest [18:37:27]: test timer: [----------------------- 1179s Running test: glib/timer.test 1179s TAP version 13 1179s # random seed: R02S6429ed0b5111b3d22539d70329b7f9d8 1179s 1..10 1179s # Start of timer tests 1179s ok 1 /timer/basic 1179s ok 2 /timer/stop 1179s ok 3 /timer/continue 1179s ok 4 /timer/reset 1179s ok 5 /timer/is_active 1179s # End of timer tests 1179s # Start of timeval tests 1179s ok 6 /timeval/add 1179s ok 7 /timeval/from-iso8601 1179s ok 8 /timeval/to-iso8601 1179s # Start of to-iso8601 tests 1179s ok 9 /timeval/to-iso8601/overflow 1179s # End of to-iso8601 tests 1179s # End of timeval tests 1179s # Start of usleep tests 1179s ok 10 /usleep/with-zero-wait 1179s # End of usleep tests 1179s PASS: glib/timer.test 1179s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 1179s autopkgtest [18:37:27]: test timer: -----------------------] 1180s timer PASS 1180s autopkgtest [18:37:28]: test timer: - - - - - - - - - - results - - - - - - - - - - 1180s autopkgtest [18:37:28]: @@@@@@@@@@@@@@@@@@@@ summary 1180s build PASS (superficial) 1180s build-static PASS (superficial) 1180s installed-tests PASS 1180s closure-refcount PASS 1180s debugcontroller PASS 1180s gdbus-server-auth PASS 1180s gdbus-threading PASS 1180s gmenumodel PASS 1180s mainloop PASS 1180s memory-monitor-dbus PASS 1180s socket PASS 1180s testfilemonitor PASS 1180s thread-pool-slow PASS 1180s threadtests PASS 1180s timeout PASS 1180s timer PASS 1192s Creating nova instance adt-noble-arm64-glib2.0-20240320-181748-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240320.img (UUID e0f61a12-2f1c-4e49-a68b-f68d2ad5dd10)... 1192s Creating nova instance adt-noble-arm64-glib2.0-20240320-181748-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240320.img (UUID e0f61a12-2f1c-4e49-a68b-f68d2ad5dd10)...